raw.c (351782067b6be81879b0af0daf7bd3acbb32d986) raw.c (678ca42d688534adfc780b150abefaaac7c86687)
1/*
2 * INET An implementation of the TCP/IP protocol suite for the LINUX
3 * operating system. INET is implemented using the BSD Socket
4 * interface as the means of communication with the user level.
5 *
6 * RAW - implementation of IP "raw" sockets.
7 *
8 * Authors: Ross Biro

--- 651 unchanged lines hidden (view full) ---

660 goto do_confirm;
661back_from_confirm:
662
663 if (hdrincl)
664 err = raw_send_hdrinc(sk, &fl4, msg, len,
665 &rt, msg->msg_flags, &ipc.sockc);
666
667 else {
1/*
2 * INET An implementation of the TCP/IP protocol suite for the LINUX
3 * operating system. INET is implemented using the BSD Socket
4 * interface as the means of communication with the user level.
5 *
6 * RAW - implementation of IP "raw" sockets.
7 *
8 * Authors: Ross Biro

--- 651 unchanged lines hidden (view full) ---

660 goto do_confirm;
661back_from_confirm:
662
663 if (hdrincl)
664 err = raw_send_hdrinc(sk, &fl4, msg, len,
665 &rt, msg->msg_flags, &ipc.sockc);
666
667 else {
668 sock_tx_timestamp(sk, ipc.sockc.tsflags, &ipc.tx_flags);
669
670 if (!ipc.addr)
671 ipc.addr = fl4.daddr;
672 lock_sock(sk);
673 err = ip_append_data(sk, &fl4, raw_getfrag,
674 &rfv, len, 0,
675 &ipc, &rt, msg->msg_flags);
676 if (err)
677 ip_flush_pending_frames(sk);

--- 461 unchanged lines hidden ---
668 if (!ipc.addr)
669 ipc.addr = fl4.daddr;
670 lock_sock(sk);
671 err = ip_append_data(sk, &fl4, raw_getfrag,
672 &rfv, len, 0,
673 &ipc, &rt, msg->msg_flags);
674 if (err)
675 ip_flush_pending_frames(sk);

--- 461 unchanged lines hidden ---