Searched refs:udphdr (Results 1 - 96 of 96) sorted by relevance

/linux-4.4.14/net/ipv4/
H A Dudp_offload.c79 struct udphdr *uh; __skb_udp_tunnel_segment()
116 skb->csum_offset = offsetof(struct udphdr, check); __skb_udp_tunnel_segment()
184 struct udphdr *uh; udp4_ufo_fragment()
194 if (!pskb_may_pull(skb, sizeof(struct udphdr))) udp4_ufo_fragment()
294 struct udphdr *uh) udp_gro_receive()
298 struct udphdr *uh2; udp_gro_receive()
327 uh2 = (struct udphdr *)(p->data + off); udp_gro_receive()
339 skb_gro_pull(skb, sizeof(struct udphdr)); /* pull encapsulating udp header */ udp_gro_receive()
340 skb_gro_postpull_rcsum(skb, uh, sizeof(struct udphdr)); udp_gro_receive()
355 struct udphdr *uh = udp_gro_udphdr(skb); udp4_gro_receive()
383 struct udphdr *uh = (struct udphdr *)(skb->data + nhoff); udp_gro_complete()
400 nhoff + sizeof(struct udphdr), udp_gro_complete()
410 skb_set_inner_mac_header(skb, nhoff + sizeof(struct udphdr)); udp_gro_complete()
418 struct udphdr *uh = (struct udphdr *)(skb->data + nhoff); udp4_gro_complete()
H A Dxfrm4_input.c72 struct udphdr *uh; xfrm4_udp_encap_rcv()
86 len = skb->len - sizeof(struct udphdr); xfrm4_udp_encap_rcv()
87 if (!pskb_may_pull(skb, sizeof(struct udphdr) + min(len, 8))) xfrm4_udp_encap_rcv()
92 udpdata = (__u8 *)uh + sizeof(struct udphdr); xfrm4_udp_encap_rcv()
103 len = sizeof(struct udphdr); xfrm4_udp_encap_rcv()
116 len = sizeof(struct udphdr) + 2 * sizeof(u32); xfrm4_udp_encap_rcv()
H A Dfou.c71 fou_recv_pull(skb, sizeof(struct udphdr)); fou_udp_recv()
83 size_t plen = sizeof(struct udphdr) + hdrlen + gue_remcsum()
117 len = sizeof(struct udphdr) + sizeof(struct guehdr); gue_udp_recv()
170 __skb_pull(skb, sizeof(struct udphdr) + hdrlen); gue_udp_recv()
742 return sizeof(struct udphdr); fou_encap_hlen()
751 len = sizeof(struct udphdr) + sizeof(struct guehdr); gue_encap_hlen()
767 struct udphdr *uh; fou_build_udp()
769 skb_push(skb, sizeof(struct udphdr)); fou_build_udp()
H A Dudp_tunnel.c82 struct udphdr *uh; udp_tunnel_xmit_skb()
H A Dudp.c629 struct udphdr *uh = (struct udphdr *)(skb->data+(iph->ihl<<2)); __udp4_lib_err()
725 struct udphdr *uh = udp_hdr(skb); udp4_hwcsum()
736 skb->csum_offset = offsetof(struct udphdr, check); udp4_hwcsum()
768 struct udphdr *uh = udp_hdr(skb); udp_set_csum()
781 skb->csum_offset = offsetof(struct udphdr, check); udp_set_csum()
803 struct udphdr *uh; udp_send_skb()
932 ulen += sizeof(struct udphdr); udp_sendmsg()
1065 sizeof(struct udphdr), &ipc, &rt, udp_sendmsg()
1096 sizeof(struct udphdr), &ipc, &rt, udp_sendmsg()
1250 amount -= sizeof(struct udphdr); udp_ioctl()
1289 ulen = skb->len - sizeof(struct udphdr); udp_recvmsg()
1308 err = skb_copy_datagram_msg(skb, sizeof(struct udphdr), udp_recvmsg()
1311 err = skb_copy_and_csum_datagram_msg(skb, sizeof(struct udphdr), udp_recvmsg()
1343 ip_cmsg_recv_offset(msg, skb, sizeof(struct udphdr)); udp_recvmsg()
1667 struct udphdr *uh, __udp4_lib_mcast_deliver()
1733 static inline int udp4_csum_init(struct sk_buff *skb, struct udphdr *uh, udp4_csum_init()
1759 struct udphdr *uh; __udp4_lib_rcv()
1768 if (!pskb_may_pull(skb, sizeof(struct udphdr))) __udp4_lib_rcv()
1973 const struct udphdr *uh; udp_v4_early_demux()
1980 if (!pskb_may_pull(skb, skb_transport_offset(skb) + sizeof(struct udphdr))) udp_v4_early_demux()
H A Desp4.c209 struct udphdr *uh; esp_output()
220 uh = (struct udphdr *)esph; esp_output()
327 struct udphdr *uh = (void *)(skb_network_header(skb) + ihl); esp_input_done2()
708 x->props.header_len += sizeof(struct udphdr); esp_init_state()
711 x->props.header_len += sizeof(struct udphdr) + 2 * sizeof(u32); esp_init_state()
H A Dipconfig.c621 struct udphdr udph; /* UDP header */
982 sizeof(struct udphdr))) ic_bootp_recv()
1009 len = ntohs(b->udph.len) - sizeof(struct udphdr); ic_bootp_recv()
1012 sizeof(struct udphdr) - ic_bootp_recv()
/linux-4.4.14/net/6lowpan/
H A Dnhc_udp.c45 struct udphdr uh; udp_uncompress()
100 uh.len = htons(skb->len + sizeof(struct udphdr)); udp_uncompress()
103 uh.len = htons(skb->len + sizeof(struct udphdr)); udp_uncompress()
115 skb_push(skb, sizeof(struct udphdr)); udp_uncompress()
116 skb_copy_to_linear_data(skb, &uh, sizeof(struct udphdr)); udp_uncompress()
123 const struct udphdr *uh = udp_hdr(skb); udp_compress()
183 LOWPAN_NHC(nhc_udp, "RFC6282 UDP", NEXTHDR_UDP, sizeof(struct udphdr),
/linux-4.4.14/arch/powerpc/platforms/ps3/
H A Dgelic_udbg.c83 struct udphdr { struct
93 static __iomem struct udphdr *h_udp;
205 header_size += sizeof(struct udphdr); gelic_debug_init()
206 h_udp = (struct udphdr *)(h_ip + 1); gelic_debug_init()
228 h_ip->total_length = msgsize + sizeof(struct udphdr) + gelic_sendbuf()
230 h_udp->len = msgsize + sizeof(struct udphdr); gelic_sendbuf()
/linux-4.4.14/include/linux/
H A Dudp.h25 static inline struct udphdr *udp_hdr(const struct sk_buff *skb) udp_hdr()
27 return (struct udphdr *)skb_transport_header(skb); udp_hdr()
30 static inline struct udphdr *inner_udp_hdr(const struct sk_buff *skb) inner_udp_hdr()
32 return (struct udphdr *)skb_inner_transport_header(skb); inner_udp_hdr()
/linux-4.4.14/net/netfilter/
H A Dnf_nat_proto_udp.c40 struct udphdr *hdr; udp_manip_pkt()
45 hdr = (struct udphdr *)(skb->data + hdroff); udp_manip_pkt()
H A Dnf_nat_proto_udplite.c40 struct udphdr *hdr; udplite_manip_pkt()
46 hdr = (struct udphdr *)(skb->data + hdroff); udplite_manip_pkt()
H A Dnf_conntrack_proto_udp.c44 const struct udphdr *hp; udp_pkt_to_tuple()
45 struct udphdr _hdr; udp_pkt_to_tuple()
117 const struct udphdr *hdr; udp_error()
118 struct udphdr _hdr; udp_error()
H A Dnf_conntrack_proto_udplite.c54 const struct udphdr *hp; udplite_pkt_to_tuple()
55 struct udphdr _hdr; udplite_pkt_to_tuple()
127 const struct udphdr *hdr; udplite_error()
128 struct udphdr _hdr; udplite_error()
H A Dnf_log_common.c27 struct udphdr _udph; nf_log_dump_udp_header()
28 const struct udphdr *uh; nf_log_dump_udp_header()
H A Dxt_tcpudp.c133 const struct udphdr *uh; udp_mt()
134 struct udphdr _udph; udp_mt()
H A Dnf_conntrack_tftp.c50 tfh = skb_header_pointer(skb, protoff + sizeof(struct udphdr), tftp_help()
H A Dnf_conntrack_amanda.c109 dataoff = protoff + sizeof(struct udphdr); amanda_help()
H A Dxt_socket.c160 struct udphdr _hdr, *hp; xt_socket_lookup_slow_v4()
355 struct udphdr _hdr, *hp; xt_socket_lookup_slow_v6()
H A Dnf_nat_helper.c156 struct udphdr *udph; nf_nat_mangle_udp_packet()
H A Dnf_nat_sip.c53 baseoff = protoff + sizeof(struct udphdr); mangle_packet()
281 struct udphdr *uh; nf_nat_sip()
H A Dxt_TPROXY.c297 struct udphdr _hdr, *hp; tproxy_tg4()
452 struct udphdr _hdr, *hp; tproxy_tg6_v1()
H A Dxt_l2tp.c85 int uhlen = sizeof(struct udphdr); l2tp_udp_mt()
H A Dnf_conntrack_h323_main.c1240 const struct udphdr *uh; get_udp_data()
1241 struct udphdr _uh; get_udp_data()
H A Dnf_conntrack_sip.c1573 dataoff = protoff + sizeof(struct udphdr); sip_help_udp()
/linux-4.4.14/net/ipv6/
H A Dudp_offload.c68 struct udphdr *uh; udp6_ufo_fragment()
70 if (!pskb_may_pull(skb, sizeof(struct udphdr))) udp6_ufo_fragment()
132 struct udphdr *uh = udp_gro_udphdr(skb); udp6_gro_receive()
160 struct udphdr *uh = (struct udphdr *)(skb->data + nhoff); udp6_gro_complete()
H A Dip6_checksum.c65 int udp6_csum_init(struct sk_buff *skb, struct udphdr *uh, int proto) udp6_csum_init()
95 struct udphdr *uh = udp_hdr(skb); udp6_set_csum()
108 skb->csum_offset = offsetof(struct udphdr, check); udp6_set_csum()
H A Dila.c64 if (likely(pskb_may_pull(skb, nhoff + sizeof(struct udphdr)))) { update_ipv6_locator()
65 struct udphdr *uh = (struct udphdr *) update_ipv6_locator()
H A Dip6_udp_tunnel.c79 struct udphdr *uh; udp_tunnel6_xmit_skb()
H A Dudp.c420 ulen = skb->len - sizeof(struct udphdr); udpv6_recvmsg()
441 err = skb_copy_datagram_msg(skb, sizeof(struct udphdr), udpv6_recvmsg()
444 err = skb_copy_and_csum_datagram_msg(skb, sizeof(struct udphdr), msg); udpv6_recvmsg()
545 struct udphdr *uh = (struct udphdr *)(skb->data+offset); __udp6_lib_err()
790 const struct udphdr *uh = udp_hdr(skb); __udp6_lib_mcast_deliver()
852 struct udphdr *uh; __udp6_lib_rcv()
856 if (!pskb_may_pull(skb, sizeof(struct udphdr))) __udp6_lib_rcv()
990 struct udphdr *uh = udp_hdr(skb); udp6_hwcsum_outgoing()
997 skb->csum_offset = offsetof(struct udphdr, check); udp6_hwcsum_outgoing()
1028 struct udphdr *uh; udp_v6_send_skb()
1175 if (len > INT_MAX - sizeof(struct udphdr)) udpv6_sendmsg()
1195 ulen += sizeof(struct udphdr); udpv6_sendmsg()
1316 sizeof(struct udphdr), hlimit, tclass, opt, udpv6_sendmsg()
1343 sizeof(struct udphdr), hlimit, tclass, opt, &fl6, udpv6_sendmsg()
/linux-4.4.14/include/net/
H A Dudp_tunnel.h111 struct udphdr *uh; udp_tunnel_gro_complete()
113 uh = (struct udphdr *)(skb->data + nhoff - sizeof(struct udphdr)); udp_tunnel_gro_complete()
H A Dudp.h134 sizeof(struct udphdr), 0); udp_csum_outgoing()
144 sizeof(struct udphdr), skb->csum); udp_csum()
162 struct udphdr *uh);
165 static inline struct udphdr *udp_gro_udphdr(struct sk_buff *skb) udp_gro_udphdr()
167 struct udphdr *uh; udp_gro_udphdr()
H A Dvxlan.h96 #define VXLAN_HLEN (sizeof(struct udphdr) + sizeof(struct vxlanhdr))
234 sizeof(struct udphdr) + sizeof(struct vxlanhdr)))) vxlan_features_check()
H A Dip6_checksum.h105 int udp6_csum_init(struct sk_buff *skb, struct udphdr *uh, int proto);
H A Dudplite.h36 static inline int udplite_checksum_init(struct sk_buff *skb, struct udphdr *uh) udplite_checksum_init()
H A D6lowpan.h65 #define LOWPAN_NHC_MAX_HDR_LEN (sizeof(struct udphdr))
/linux-4.4.14/include/uapi/linux/
H A Dudp.h22 struct udphdr { struct
/linux-4.4.14/net/netfilter/ipvs/
H A Dip_vs_proto_udp.c38 struct udphdr _udph, *uh; udp_conn_schedule()
98 udp_fast_csum_update(int af, struct udphdr *uhdr, udp_fast_csum_update()
120 udp_partial_csum_update(int af, struct udphdr *uhdr, udp_partial_csum_update()
144 struct udphdr *udph; udp_snat_handler()
227 struct udphdr *udph; udp_dnat_handler()
307 struct udphdr _udph, *uh; udp_csum_check()
H A Dip_vs_pe_sip.c81 dataoff = iph.len + sizeof(struct udphdr); ip_vs_sip_fill_param()
H A Dip_vs_sync.c1813 sizeof(struct ipv6hdr) + sizeof(struct udphdr) : start_sync_thread()
1814 sizeof(struct iphdr) + sizeof(struct udphdr); start_sync_thread()
/linux-4.4.14/net/netfilter/ipset/
H A Dip_set_getport.c54 struct udphdr _udph; get_port()
55 const struct udphdr *uh; get_port()
/linux-4.4.14/net/batman-adv/
H A Dgateway_client.c674 struct udphdr *udphdr; batadv_gw_dhcp_recipient_get() local
728 if (!pskb_may_pull(skb, *header_len + sizeof(*udphdr))) batadv_gw_dhcp_recipient_get()
731 udphdr = (struct udphdr *)(skb->data + *header_len); batadv_gw_dhcp_recipient_get()
732 *header_len += sizeof(*udphdr); batadv_gw_dhcp_recipient_get()
737 if (udphdr->dest == htons(67)) batadv_gw_dhcp_recipient_get()
739 else if (udphdr->source == htons(67)) batadv_gw_dhcp_recipient_get()
743 if (udphdr->dest == htons(547)) batadv_gw_dhcp_recipient_get()
745 else if (udphdr->source == htons(547)) batadv_gw_dhcp_recipient_get()
/linux-4.4.14/net/sunrpc/
H A Dsocklib.c158 desc.offset = sizeof(struct udphdr); csum_partial_copy_to_xdr()
H A Dsvcsock.c620 len = skb->len - sizeof(struct udphdr); svc_udp_recvfrom()
645 sizeof(struct udphdr); svc_udp_recvfrom()
H A Dxprtsock.c998 repsize = skb->len - sizeof(struct udphdr); xs_udp_data_read_skb()
1005 xp = skb_header_pointer(skb, sizeof(struct udphdr), xs_udp_data_read_skb()
/linux-4.4.14/security/
H A Dlsm_audit.c72 struct udphdr *uh = udp_hdr(skb); ipv4_skb_to_auditdata()
148 struct udphdr _udph, *uh; ipv6_skb_to_auditdata()
/linux-4.4.14/net/ipv4/netfilter/
H A Dnf_nat_snmp_basic.c1185 struct udphdr *udph = (struct udphdr *)((__be32 *)iph + iph->ihl); snmp_translate()
1187 u_int16_t paylen = udplen - sizeof(struct udphdr); snmp_translate()
1208 if (!snmp_parse_mangle((unsigned char *)udph + sizeof(struct udphdr), snmp_translate()
1225 const struct udphdr *udph = (struct udphdr *)((__be32 *)iph + iph->ihl); help()
H A Dnf_nat_h323.c65 *data = skb->data + ip_hdrlen(skb) + sizeof(struct udphdr); set_addr()
/linux-4.4.14/net/openvswitch/
H A Dactions.c301 if (likely(transport_len >= sizeof(struct udphdr))) { update_ip_l4_checksum()
302 struct udphdr *uh = udp_hdr(skb); update_ip_l4_checksum()
333 if (likely(transport_len >= sizeof(struct udphdr))) { update_ipv6_checksum()
334 struct udphdr *uh = udp_hdr(skb); update_ipv6_checksum()
522 struct udphdr *uh; set_udp()
527 sizeof(struct udphdr)); set_udp()
H A Dflow.c235 sizeof(struct udphdr)); udphdr_ok()
546 struct udphdr *udp = udp_hdr(skb); key_extract()
664 struct udphdr *udp = udp_hdr(skb); key_extract()
/linux-4.4.14/drivers/staging/gdm724x/
H A Dgdm_lte.c384 struct udphdr *udp = gdm_lte_tx_nic_type()
400 struct udphdr *udp = gdm_lte_tx_nic_type()
628 sizeof(struct udphdr) + gdm_lte_netif_rx()
/linux-4.4.14/net/core/
H A Dnetpoll.c56 sizeof(struct udphdr) + \
382 struct udphdr *udph; netpoll_send_udp()
432 ip6h->payload_len = htons(sizeof(struct udphdr) + len); netpoll_send_udp()
H A Dpktgen.c2152 + sizeof(struct udphdr) pktgen_setup_inject()
2194 + sizeof(struct udphdr) pktgen_setup_inject()
2802 struct udphdr *udph; fill_packet_ipv4()
2864 udph = (struct udphdr *) skb_put(skb, sizeof(struct udphdr)); fill_packet_ipv4()
2879 udph->len = htons(datalen + 8); /* DATA + udphdr */ fill_packet_ipv4()
2931 struct udphdr *udph; fill_packet_ipv6()
2991 udph = (struct udphdr *) skb_put(skb, sizeof(struct udphdr)); fill_packet_ipv6()
3000 sizeof(struct ipv6hdr) - sizeof(struct udphdr) - fill_packet_ipv6()
3008 udplen = datalen + sizeof(struct udphdr); fill_packet_ipv6()
3040 skb->csum_offset = offsetof(struct udphdr, check); fill_packet_ipv6()
H A Dflow_dissector.c759 poff += sizeof(struct udphdr); __skb_get_poff()
H A Dskbuff.c3845 err = skb_maybe_pull_tail(skb, off + sizeof(struct udphdr), skb_checksum_setup_ip()
3846 off + sizeof(struct udphdr)); skb_checksum_setup_ip()
3848 offsetof(struct udphdr, skb_checksum_setup_ip()
H A Ddev.c2860 hdr_len += sizeof(struct udphdr); qdisc_pkt_len_init()
/linux-4.4.14/net/sched/
H A Dact_csum.c220 struct udphdr *udph; tcf_csum_ipv4_udp()
273 struct udphdr *udph; tcf_csum_ipv6_udp()
H A Dact_nat.c171 struct udphdr *udph; tcf_nat()
/linux-4.4.14/net/tipc/
H A Dudp_media.c239 skb_pull(skb, sizeof(struct udphdr)); tipc_udp_recv()
385 - sizeof(struct udphdr); tipc_udp_enable()
/linux-4.4.14/Documentation/networking/timestamping/
H A Dtxtimestamp.c283 total_len += sizeof(struct udphdr); do_test()
337 struct udphdr *udph; do_test()
/linux-4.4.14/net/rxrpc/
H A Dar-peer.c85 peer->hdrsize += sizeof(struct udphdr); rxrpc_alloc_peer()
H A Dar-input.c699 if (skb_copy_bits(skb, sizeof(struct udphdr), &sp->hdr, rxrpc_data_ready()
702 if (!pskb_pull(skb, sizeof(struct udphdr) + sizeof(sp->hdr))) rxrpc_data_ready()
/linux-4.4.14/drivers/staging/rtl8192e/
H A Drtllib_tx.c638 struct udphdr *udp; rtllib_xmit_inter()
640 udp = (struct udphdr *)((u8 *)ip + rtllib_xmit_inter()
/linux-4.4.14/net/l2tp/
H A Dl2tp_core.c856 __skb_pull(skb, sizeof(struct udphdr)); l2tp_udp_recv_core()
938 __skb_push(skb, sizeof(struct udphdr)); l2tp_udp_recv_core()
1068 int uhlen = (tunnel->encap == L2TP_ENCAPTYPE_UDP) ? sizeof(struct udphdr) : 0; l2tp_xmit_core()
1108 struct udphdr *uh; l2tp_xmit_skb()
1111 int uhlen = (tunnel->encap == L2TP_ENCAPTYPE_UDP) ? sizeof(struct udphdr) : 0; l2tp_xmit_skb()
H A Dl2tp_ppp.c324 uhlen = (tunnel->encap == L2TP_ENCAPTYPE_UDP) ? sizeof(struct udphdr) : 0; pppol2tp_sendmsg()
411 uhlen = (tunnel->encap == L2TP_ENCAPTYPE_UDP) ? sizeof(struct udphdr) : 0; pppol2tp_xmit()
/linux-4.4.14/drivers/net/
H A Dvxlan.c531 offsetof(struct udphdr, check) : vxlan_gro_remcsum()
1135 offsetof(struct udphdr, check) : vxlan_remcsum()
1704 (skb->csum_offset == offsetof(struct udphdr, check) || vxlan6_xmit_skb()
1744 if (skb->csum_offset == offsetof(struct udphdr, check)) vxlan6_xmit_skb()
1789 (skb->csum_offset == offsetof(struct udphdr, check) || vxlan_xmit_skb()
1823 if (skb->csum_offset == offsetof(struct udphdr, check)) vxlan_xmit_skb()
H A Dgeneve.c39 #define GENEVE_BASE_HLEN (sizeof(struct udphdr) + sizeof(struct genevehdr))
/linux-4.4.14/drivers/net/ethernet/sun/
H A Dsunvnet.c339 struct udphdr *pudp = udp_hdr(skb); vnet_fullcsum()
1166 hlen += sizeof(struct udphdr); vnet_handle_offloads()
1231 curr->csum_offset = offsetof(struct udphdr, check); vnet_handle_offloads()
/linux-4.4.14/drivers/net/ethernet/intel/i40e/
H A Di40e_txrx.c198 struct udphdr *udp; i40e_add_del_fdir_udpv4()
213 udp = (struct udphdr *)(raw_packet + IP_HEADER_OFFSET i40e_add_del_fdir_udpv4()
2306 struct udphdr *oudph; i40e_tx_enable_csum()
2413 *td_offset |= (sizeof(struct udphdr) >> 2) << i40e_tx_enable_csum()
/linux-4.4.14/drivers/net/ethernet/sfc/
H A Dselftest.c47 struct udphdr udp;
H A Dptp.c1364 skb_transport_offset(skb) + sizeof(struct udphdr) && efx_ptp_is_ptp_tx()
/linux-4.4.14/drivers/net/ethernet/hisilicon/hns/
H A Dhns_enet.c299 (max_size - sizeof(struct udphdr))) hns_nic_get_headlen()
302 network += sizeof(struct udphdr); hns_nic_get_headlen()
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/
H A Dbase.c1355 struct udphdr *udp = (struct udphdr *)((u8 *)ip + rtl_is_special_data()
/linux-4.4.14/drivers/net/ethernet/intel/i40evf/
H A Di40e_txrx.c1512 struct udphdr *oudph; i40e_tx_enable_csum()
1618 *td_offset |= (sizeof(struct udphdr) >> 2) << i40e_tx_enable_csum()
/linux-4.4.14/drivers/net/ethernet/xilinx/
H A Dll_temac_main.c45 #include <linux/udp.h> /* needed for sizeof(udphdr) */
/linux-4.4.14/drivers/net/hyperv/
H A Dnetvsc_drv.c566 struct udphdr *uh; netvsc_start_xmit()
/linux-4.4.14/drivers/infiniband/hw/nes/
H A Dnes_nic.c472 /* struct udphdr *udph; */ nes_netdev_start_xmit()
/linux-4.4.14/drivers/net/wireless/ath/wil6210/
H A Dtxrx.c1178 (sizeof(struct udphdr) & DMA_CFG_DESC_TX_0_L4_LENGTH_MSK); wil_tx_desc_offload_setup()
/linux-4.4.14/drivers/net/ethernet/sgi/
H A Dioc3-eth.c1447 csoff += offsetof(struct udphdr, check); ioc3_start_xmit()
/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_cmn.c3585 sizeof(struct udphdr) - skb->data; bnx2x_set_pbd_csum_enc()
3616 return skb_transport_header(skb) + sizeof(struct udphdr) - skb->data; bnx2x_set_pbd_csum_e2()
3662 hlen += sizeof(struct udphdr) / 2; bnx2x_set_pbd_csum()
/linux-4.4.14/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt.c899 struct udphdr *uh = NULL; bnxt_gro_skb()
905 uh = (struct udphdr *)(iph + 1); bnxt_gro_skb()
910 uh = (struct udphdr *)(iph + 1); bnxt_gro_skb()
/linux-4.4.14/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_main.c668 #define VXLAN_HLEN (sizeof(struct udphdr) + 8) fm10k_port_is_vxlan()
/linux-4.4.14/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_io.c392 sizeof(struct udphdr); qlcnic_tx_encap_pkt()
/linux-4.4.14/drivers/net/ethernet/emulex/benet/
H A Dbe_main.c1263 struct udphdr *udp = udp_hdr((*skb)); be_send_pkt_to_bmc()
5291 sizeof(struct udphdr) + sizeof(struct vxlanhdr)) be_features_check()
/linux-4.4.14/drivers/net/ethernet/
H A Djme.c981 sizeof(struct udphdr)))) { jme_udpsum()
/linux-4.4.14/drivers/net/vmxnet3/
H A Dvmxnet3_drv.c864 ctx->l4_hdr_size = sizeof(struct udphdr); vmxnet3_parse_and_copy_hdr()
/linux-4.4.14/drivers/net/ethernet/brocade/bna/
H A Dbnad.c2912 sizeof(struct udphdr))) { bnad_txq_wi_prepare()
/linux-4.4.14/drivers/net/ethernet/ibm/ehea/
H A Dehea_main.c2012 offsetof(struct udphdr, check); xmit_common()
/linux-4.4.14/security/selinux/
H A Dhooks.c3795 struct udphdr _udph, *uh; selinux_parse_skb_ipv4()
3876 struct udphdr _udph, *uh; selinux_parse_skb_ipv6()
/linux-4.4.14/drivers/net/ethernet/intel/e1000e/
H A Dnetdev.c5644 struct udphdr *udp; e1000_transfer_dhcp_info()
5649 udp = (struct udphdr *)((u8 *)ip + (ip->ihl << 2)); e1000_transfer_dhcp_info()
/linux-4.4.14/drivers/net/ethernet/intel/ixgbevf/
H A Dixgbevf_main.c3390 mss_l4len_idx = sizeof(struct udphdr) << ixgbevf_tx_csum()
/linux-4.4.14/drivers/net/wireless/iwlwifi/mvm/
H A Dmac80211.c193 .offset = offsetof(struct udphdr, dest),
/linux-4.4.14/drivers/net/ethernet/qlogic/qlge/
H A Dqlge_main.c2638 sizeof(struct udphdr)); ql_hw_csum_setup()
/linux-4.4.14/security/smack/
H A Dsmack_lsm.c3873 struct udphdr _udph, *uh; smk_skb_to_addr_ipv6()
/linux-4.4.14/drivers/net/ethernet/intel/igb/
H A Digb_main.c4752 mss_l4len_idx = sizeof(struct udphdr) << igb_tx_csum()
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_main.c7071 mss_l4len_idx = sizeof(struct udphdr) << ixgbe_tx_csum()

Completed in 2953 milliseconds