Hi there,
im working on raw sockets in c,
I have a char buffer with a multiple raw ethernet packets, received from a raw socket (Interface : eth1). Now i want to send the those packets over other raw socket(Interface : eth2 ), if i try to send those packets through the send() call he is through error as Message send is too long. debugging i found that raw send will not send the data more than MTU size, is there any other possible way's that could help me to send muliple packets at single send call
other :
Ethernet recv call : recvfrom()
Ethernet send call : send()
Socket created : socket() - RAW_SOCK with ETH_IP_ALL flag.
can some help quickly.
Thanks.
im working on raw sockets in c,
I have a char buffer with a multiple raw ethernet packets, received from a raw socket (Interface : eth1). Now i want to send the those packets over other raw socket(Interface : eth2 ), if i try to send those packets through the send() call he is through error as Message send is too long. debugging i found that raw send will not send the data more than MTU size, is there any other possible way's that could help me to send muliple packets at single send call
other :
Ethernet recv call : recvfrom()
Ethernet send call : send()
Socket created : socket() - RAW_SOCK with ETH_IP_ALL flag.
can some help quickly.
Thanks.