ip_output.c (351782067b6be81879b0af0daf7bd3acbb32d986) | ip_output.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 * The Internet Protocol (IP) output module. 7 * 8 * Authors: Ross Biro --- 1139 unchanged lines hidden (view full) --- 1148 1149 cork->gso_size = sk->sk_type == SOCK_DGRAM && 1150 sk->sk_protocol == IPPROTO_UDP ? ipc->gso_size : 0; 1151 cork->dst = &rt->dst; 1152 cork->length = 0; 1153 cork->ttl = ipc->ttl; 1154 cork->tos = ipc->tos; 1155 cork->priority = ipc->priority; | 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 * The Internet Protocol (IP) output module. 7 * 8 * Authors: Ross Biro --- 1139 unchanged lines hidden (view full) --- 1148 1149 cork->gso_size = sk->sk_type == SOCK_DGRAM && 1150 sk->sk_protocol == IPPROTO_UDP ? ipc->gso_size : 0; 1151 cork->dst = &rt->dst; 1152 cork->length = 0; 1153 cork->ttl = ipc->ttl; 1154 cork->tos = ipc->tos; 1155 cork->priority = ipc->priority; |
1156 cork->tx_flags = ipc->tx_flags; | |
1157 cork->transmit_time = ipc->sockc.transmit_time; | 1156 cork->transmit_time = ipc->sockc.transmit_time; |
1157 cork->tx_flags = 0; 1158 sock_tx_timestamp(sk, ipc->sockc.tsflags, &cork->tx_flags); |
|
1158 1159 return 0; 1160} 1161 1162/* 1163 * ip_append_data() and ip_append_page() can make one large IP datagram 1164 * from many pieces of data. Each pieces will be holded on the socket 1165 * until ip_push_pending_frames() is called. Each piece can be a page --- 448 unchanged lines hidden --- | 1159 1160 return 0; 1161} 1162 1163/* 1164 * ip_append_data() and ip_append_page() can make one large IP datagram 1165 * from many pieces of data. Each pieces will be holded on the socket 1166 * until ip_push_pending_frames() is called. Each piece can be a page --- 448 unchanged lines hidden --- |