/Linux-v6.6/include/net/netfilter/ |
D | nf_reject.h | 17 const struct udphdr *udp_hdr; in nf_reject_verify_csum() local 20 udp_hdr = skb_header_pointer(skb, dataoff, in nf_reject_verify_csum() 23 if (!udp_hdr || udp_hdr->check) in nf_reject_verify_csum()
|
/Linux-v6.6/net/ipv4/ |
D | udp_offload.c | 25 struct udphdr *uh = udp_hdr(skb); in __skb_udp_tunnel_segment() 119 uh = udp_hdr(skb); in __skb_udp_tunnel_segment() 202 uh = udp_hdr(seg); in __udpv4_gso_segment_csum() 226 uh = udp_hdr(seg); in __udpv4_gso_segment_list_csum() 229 if ((udp_hdr(seg)->dest == udp_hdr(seg->next)->dest) && in __udpv4_gso_segment_list_csum() 230 (udp_hdr(seg)->source == udp_hdr(seg->next)->source) && in __udpv4_gso_segment_list_csum() 236 uh2 = udp_hdr(seg); in __udpv4_gso_segment_list_csum() 260 udp_hdr(skb)->len = htons(sizeof(struct udphdr) + mss); in __udp_gso_segment_list() 313 uh = udp_hdr(seg); in __udp_gso_segment() 344 uh = udp_hdr(seg); in __udp_gso_segment() [all …]
|
D | udp_tunnel_core.c | 162 uh = udp_hdr(skb); in udp_tunnel_xmit_skb() 199 info->key.tp_src = udp_hdr(skb)->source; in udp_tun_rx_dst() 200 info->key.tp_dst = udp_hdr(skb)->dest; in udp_tun_rx_dst() 201 if (udp_hdr(skb)->check) in udp_tun_rx_dst()
|
D | fou_core.c | 68 skb_postpull_rcsum(skb, udp_hdr(skb), len); in fou_recv_pull() 105 guehdr = (struct guehdr *)&udp_hdr(skb)[1]; in gue_remcsum() 136 guehdr = (struct guehdr *)&udp_hdr(skb)[1]; in gue_udp_recv() 175 guehdr = (struct guehdr *)&udp_hdr(skb)[1]; in gue_udp_recv() 191 skb_postpull_rcsum(skb, udp_hdr(skb), len); in gue_udp_recv() 1024 uh = udp_hdr(skb); in fou_build_udp() 1092 guehdr = (struct guehdr *)&udp_hdr(skb)[1]; in gue_err() 1127 guehdr = (struct guehdr *)&udp_hdr(skb)[1]; in gue_err()
|
D | xfrm4_input.c | 104 uh = udp_hdr(skb); in xfrm4_udp_encap_rcv()
|
/Linux-v6.6/net/rxrpc/ |
D | utils.c | 25 srx->transport.sin.sin_port = udp_hdr(skb)->source; in rxrpc_extract_addr_from_skb() 34 srx->transport.sin6.sin6_port = udp_hdr(skb)->source; in rxrpc_extract_addr_from_skb()
|
/Linux-v6.6/drivers/net/wireless/intel/iwlwifi/mei/ |
D | net.c | 173 if ((filt->src_port && filt->src_port != udp_hdr(skb)->source) || in iwl_mei_rx_filter_tcp_udp() 174 (filt->dst_port && filt->dst_port != udp_hdr(skb)->dest)) in iwl_mei_rx_filter_tcp_udp() 381 udp_hdr(origskb)->source != htons(DHCP_CLIENT_PORT) || in iwl_mei_tx_copy_to_csme() 382 udp_hdr(origskb)->dest != htons(DHCP_SERVER_PORT)) in iwl_mei_tx_copy_to_csme()
|
/Linux-v6.6/net/ipv6/ |
D | fou6.c | 29 uh = udp_hdr(skb); in fou6_build_udp() 101 guehdr = (struct guehdr *)&udp_hdr(skb)[1]; in gue6_err() 136 guehdr = (struct guehdr *)&udp_hdr(skb)[1]; in gue6_err()
|
D | udp.c | 397 sin6->sin6_port = udp_hdr(skb)->source; in udpv6_recvmsg() 821 &ipv6_hdr(skb)->saddr, ntohs(udp_hdr(skb)->source), in udp6_csum_zero_error() 822 &ipv6_hdr(skb)->daddr, ntohs(udp_hdr(skb)->dest)); in udp6_csum_zero_error() 834 const struct udphdr *uh = udp_hdr(skb); in __udp6_lib_mcast_deliver() 942 uh = udp_hdr(skb); in __udp6_lib_rcv() 963 uh = udp_hdr(skb); in __udp6_lib_rcv() 1091 uh = udp_hdr(skb); in udp_v6_early_demux() 1175 struct udphdr *uh = udp_hdr(skb); in udp6_hwcsum_outgoing() 1226 uh = udp_hdr(skb); in udp_v6_send_skb()
|
D | ip6_udp_tunnel.c | 88 uh = udp_hdr(skb); in udp_tunnel6_xmit_skb()
|
D | ip6_checksum.c | 119 struct udphdr *uh = udp_hdr(skb); in udp6_set_csum()
|
D | xfrm6_input.c | 103 uh = udp_hdr(skb); in xfrm6_udp_encap_rcv()
|
D | udp_offload.c | 57 uh = udp_hdr(skb); in udp6_ufo_fragment()
|
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
D | en_accel.h | 75 udp_hdr(skb)->dest != cpu_to_be16(GENEVE_UDP_PORT)) in mlx5e_tx_tunnel_accel() 106 udp_hdr(skb)->len = htons(payload_len); in mlx5e_udp_gso_handle_tx_skb()
|
/Linux-v6.6/include/net/ |
D | udplite.h | 76 udp_hdr(skb)->len = htons(up->pcslen); in udplite_csum()
|
/Linux-v6.6/include/linux/ |
D | udp.h | 21 static inline struct udphdr *udp_hdr(const struct sk_buff *skb) in udp_hdr() function
|
/Linux-v6.6/drivers/net/ethernet/aquantia/atlantic/ |
D | aq_main.c | 119 ((udp_hdr(skb)->dest == htons(319)) || in aq_ndev_start_xmit() 120 (udp_hdr(skb)->dest == htons(320)))) || in aq_ndev_start_xmit()
|
/Linux-v6.6/drivers/net/ |
D | amt.c | 665 udph = udp_hdr(skb); in amt_send_discovery() 756 udph = udp_hdr(skb); in amt_send_request() 1309 amth = (struct amt_header *)(udp_hdr(skb) + 1); in amt_parse_type() 2255 amta = (struct amt_header_advertisement *)(udp_hdr(skb) + 1); in amt_advertisement_handler() 2292 amtmd = (struct amt_header_mcast_data *)(udp_hdr(skb) + 1); in amt_multicast_data_handler() 2358 amtmq = (struct amt_header_membership_query *)(udp_hdr(skb) + 1); in amt_membership_query_handler() 2460 amtmu = (struct amt_header_membership_update *)(udp_hdr(skb) + 1); in amt_update_handler() 2603 udph = udp_hdr(skb); in amt_send_advertisement() 2647 udph = udp_hdr(skb); in amt_discovery_handler() 2648 amtd = (struct amt_header_discovery *)(udp_hdr(skb) + 1); in amt_discovery_handler() [all …]
|
/Linux-v6.6/drivers/infiniband/core/ |
D | lag.c | 35 uh = udp_hdr(skb); in rdma_build_skb()
|
/Linux-v6.6/net/6lowpan/ |
D | nhc_udp.c | 117 const struct udphdr *uh = udp_hdr(skb); in udp_compress()
|
/Linux-v6.6/drivers/net/wireguard/ |
D | socket.c | 241 endpoint->addr4.sin_port = udp_hdr(skb)->source; in wg_socket_endpoint_from_skb() 247 endpoint->addr6.sin6_port = udp_hdr(skb)->source; in wg_socket_endpoint_from_skb()
|
D | cookie.c | 113 blake2s_update(&state, (u8 *)&udp_hdr(skb)->source, sizeof(__be16)); in make_cookie()
|
/Linux-v6.6/drivers/infiniband/sw/rxe/ |
D | rxe_net.c | 155 udph = udp_hdr(skb); in rxe_udp_encap_recv() 218 udph = udp_hdr(skb); in prepare_udp_hdr()
|
/Linux-v6.6/drivers/infiniband/hw/irdma/ |
D | user.h | 220 bool udp_hdr:1; member
|
/Linux-v6.6/drivers/net/ethernet/sfc/ |
D | ptp.c | 1380 udp_hdr(skb)->source == htons(PTP_EVENT_PORT); in efx_ptp_valid_unicast_event_pkt() 1386 udp_hdr(skb)->source == htons(PTP_EVENT_PORT); in efx_ptp_valid_unicast_event_pkt() 1727 udp_hdr(skb)->dest == htons(PTP_EVENT_PORT); in efx_ptp_is_ptp_tx() 1794 if ((udp_hdr(skb)->dest == htons(PTP_EVENT_PORT)) && in efx_ptp_tx()
|