Home
last modified time | relevance | path

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

12

/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()
/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()
110 udphdr = udp_hdr(skb); in mlx5e_udp_gso_handle_tx_skb()
/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 …]
/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()
/drivers/infiniband/core/
Dlag.c35 uh = udp_hdr(skb); in rdma_build_skb()
/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()
Dreceive.c57 udp = udp_hdr(skb); in prepare_skb_header()
/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()
/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()
Defx_common.c1343 dst_port = udp_hdr(skb)->dest; in efx_can_encap_offloads()
/drivers/infiniband/hw/irdma/
Duser.h220 bool udp_hdr:1; member
Duk.c482 FIELD_PREP(IRDMAQPSQ_UDPHEADER, info->udp_hdr) | in irdma_uk_send()
768 FIELD_PREP(IRDMAQPSQ_UDPHEADER, info->udp_hdr) | in irdma_uk_inline_send()
/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_txrx.c686 struct udphdr *udph = udp_hdr(skb); in otx2_sqe_add_ext()
1007 struct udphdr *udph = udp_hdr(skb); in otx2_validate_network_transport()
1109 struct udphdr *uh = udp_hdr(skb); in otx2_set_txtstamp()
/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_ptp.c62 uh = udp_hdr(skb); in cxgb4_ptp_is_ptp_tx()
/drivers/net/ethernet/qlogic/qede/
Dqede_fp.c1792 (ntohs(udp_hdr(skb)->dest) != vxln_port && in qede_features_check()
1793 ntohs(udp_hdr(skb)->dest) != gnv_port)) in qede_features_check()
/drivers/net/ethernet/sfc/siena/
Dptp.c1609 udp_hdr(skb)->dest == htons(PTP_EVENT_PORT); in efx_siena_ptp_is_ptp_tx()
1709 if ((udp_hdr(skb)->dest == htons(PTP_EVENT_PORT)) && in efx_siena_ptp_tx()
Defx_common.c1360 dst_port = udp_hdr(skb)->dest; in efx_can_encap_offloads()
/drivers/net/ethernet/sun/
Dsunvnet_common.c330 struct udphdr *pudp = udp_hdr(skb); in vnet_fullcsum_ipv4()
363 struct udphdr *pudp = udp_hdr(skb); in vnet_fullcsum_ipv6()
/drivers/net/ethernet/oki-semi/pch_gbe/
Dpch_gbe_main.c1105 udp_hdr(skb)->check = 0; in pch_gbe_tx_queue()
1109 udp_hdr(skb)->check = in pch_gbe_tx_queue()
/drivers/net/ethernet/sgi/
Dioc3-eth.c1025 udp_hdr(skb)->check = csum; in ioc3_start_xmit()
/drivers/net/vmxnet3/
Dvmxnet3_ethtool.c308 udph = udp_hdr(skb); in vmxnet3_features_check()
/drivers/net/thunderbolt/
Dmain.c1045 tucso = dest + ((void *)&(udp_hdr(skb)->check) - data); in tbnet_xmit_csum_and_map()
/drivers/net/ethernet/intel/fm10k/
Dfm10k_main.c639 if (interface->vxlan_port != udp_hdr(skb)->dest) in fm10k_port_is_vxlan()
/drivers/infiniband/hw/bnxt_re/
Dib_verbs.c3333 struct udphdr *udp_hdr; in bnxt_re_is_loopback_packet() local
3338 udp_hdr = (struct udphdr *)tmp_buf; in bnxt_re_is_loopback_packet()
3339 if (ntohs(udp_hdr->dest) == in bnxt_re_is_loopback_packet()

12