Home
last modified time | relevance | path

Searched refs:udp_hdr (Results 1 – 25 of 69) sorted by relevance

123

/Linux-v6.6/include/net/netfilter/
Dnf_reject.h17 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/
Dudp_offload.c25 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 …]
Dudp_tunnel_core.c162 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()
Dfou_core.c68 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()
Dxfrm4_input.c104 uh = udp_hdr(skb); in xfrm4_udp_encap_rcv()
/Linux-v6.6/net/rxrpc/
Dutils.c25 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/
Dnet.c173 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/
Dfou6.c29 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()
Dudp.c397 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()
Dip6_udp_tunnel.c88 uh = udp_hdr(skb); in udp_tunnel6_xmit_skb()
Dip6_checksum.c119 struct udphdr *uh = udp_hdr(skb); in udp6_set_csum()
Dxfrm6_input.c103 uh = udp_hdr(skb); in xfrm6_udp_encap_rcv()
Dudp_offload.c57 uh = udp_hdr(skb); in udp6_ufo_fragment()
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Den_accel.h75 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/
Dudplite.h76 udp_hdr(skb)->len = htons(up->pcslen); in udplite_csum()
/Linux-v6.6/include/linux/
Dudp.h21 static inline struct udphdr *udp_hdr(const struct sk_buff *skb) in udp_hdr() function
/Linux-v6.6/drivers/net/ethernet/aquantia/atlantic/
Daq_main.c119 ((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/
Damt.c665 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/
Dlag.c35 uh = udp_hdr(skb); in rdma_build_skb()
/Linux-v6.6/net/6lowpan/
Dnhc_udp.c117 const struct udphdr *uh = udp_hdr(skb); in udp_compress()
/Linux-v6.6/drivers/net/wireguard/
Dsocket.c241 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()
Dcookie.c113 blake2s_update(&state, (u8 *)&udp_hdr(skb)->source, sizeof(__be16)); in make_cookie()
/Linux-v6.6/drivers/infiniband/sw/rxe/
Drxe_net.c155 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/
Duser.h220 bool udp_hdr:1; member
/Linux-v6.6/drivers/net/ethernet/sfc/
Dptp.c1380 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()

123