/drivers/net/slip/ |
D | slhc.c | 238 struct iphdr *ip; in slhc_compress() 247 if(isize<sizeof(struct iphdr)) in slhc_compress() 250 ip = (struct iphdr *) icp; in slhc_compress() 498 register struct iphdr *ip; in slhc_uncompress() 626 &((struct iphdr *)icp)->check); in slhc_uncompress() 682 memcpy(cs->cs_ipopt, icp + sizeof(struct iphdr), (ihl - 5) * 4); in slhc_remember()
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_rx.c | 100 struct iphdr *ipv4 = (struct iphdr *)(skb->data + ETH_HLEN); in mlx5e_lro_update_hdr() 112 sizeof(struct iphdr)); in mlx5e_lro_update_hdr()
|
/drivers/infiniband/hw/nes/ |
D | nes_mgt.c | 177 struct iphdr *iph = (struct iphdr *)(cb->data_start + ETH_HLEN); in nes_get_seq() 245 struct iphdr *iph; in get_fpdu_info() 337 iph = (struct iphdr *)(cb->data_start + ETH_HLEN); in get_fpdu_info() 357 iph = (struct iphdr *)(fpdu_info->hdr_vbase + ETH_HLEN); in get_fpdu_info() 386 iph = (struct iphdr *)(cb->data_start + ETH_HLEN); in get_fpdu_info() 511 struct iphdr *iph; in queue_fpdus() 522 iph = (struct iphdr *)skb->data; in queue_fpdus()
|
/drivers/net/ipvlan/ |
D | ipvlan_core.c | 139 struct iphdr *ip4h; in ipvlan_get_L3_hdr() 325 struct iphdr *ip4h; in ipvlan_addr_lookup() 328 ip4h = (struct iphdr *)lyr3h; in ipvlan_addr_lookup() 352 const struct iphdr *ip4h = ip_hdr(skb); in ipvlan_process_v4_outbound()
|
/drivers/net/ethernet/intel/i40e/ |
D | i40e_txrx.c | 199 struct iphdr *ip; in i40e_add_del_fdir_udpv4() 212 ip = (struct iphdr *)(raw_packet + IP_HEADER_OFFSET); in i40e_add_del_fdir_udpv4() 214 + sizeof(struct iphdr)); in i40e_add_del_fdir_udpv4() 259 struct iphdr *ip; in i40e_add_del_fdir_tcpv4() 274 ip = (struct iphdr *)(raw_packet + IP_HEADER_OFFSET); in i40e_add_del_fdir_tcpv4() 276 + sizeof(struct iphdr)); in i40e_add_del_fdir_tcpv4() 355 struct iphdr *ip; in i40e_add_del_fdir_ipv4() 370 ip = (struct iphdr *)(raw_packet + IP_HEADER_OFFSET); in i40e_add_del_fdir_ipv4() 1335 struct iphdr *iph; in i40e_rx_checksum() 1987 struct iphdr *ipv4; in i40e_atr() [all …]
|
/drivers/net/ |
D | geneve.c | 155 struct iphdr *iph = NULL; in geneve_rx() 650 + GENEVE_BASE_HLEN + opt_len + sizeof(struct iphdr); in geneve_build_skb() 734 const struct iphdr *iip = ip_hdr(skb); in geneve_get_v4_rt() 781 const struct iphdr *iip = ip_hdr(skb); in geneve_get_v6_dst() 1113 [IFLA_GENEVE_REMOTE] = { .len = FIELD_SIZEOF(struct iphdr, daddr) }, 1212 encap_len += sizeof(struct iphdr); in geneve_configure()
|
D | vxlan.c | 1163 struct iphdr *oip = NULL; in vxlan_rcv() 1547 const struct ipv6hdr *iphdr; in neigh_reduce() local 1557 iphdr = ipv6_hdr(skb); in neigh_reduce() 1558 saddr = &iphdr->saddr; in neigh_reduce() 1559 daddr = &iphdr->daddr; in neigh_reduce() 1627 struct iphdr *pip; in route_shortcircuit() 1629 if (!pskb_may_pull(skb, sizeof(struct iphdr))) in route_shortcircuit() 1821 + VXLAN_HLEN + sizeof(struct iphdr) in vxlan_xmit_skb() 1956 const struct iphdr *old_iph; in vxlan_xmit_one() 2610 [IFLA_VXLAN_GROUP] = { .len = FIELD_SIZEOF(struct iphdr, daddr) }, [all …]
|
/drivers/net/ppp/ |
D | pptp.c | 188 struct iphdr *iph; in pptp_xmit() 268 iph->ihl = sizeof(struct iphdr) >> 2; in pptp_xmit() 385 struct iphdr *iph; in pptp_rcv()
|
/drivers/net/hyperv/ |
D | netvsc_drv.c | 341 struct iphdr *iphdr = ip_hdr(skb); in get_net_transport_info() local 343 if (iphdr->protocol == IPPROTO_TCP) in get_net_transport_info() 345 else if (iphdr->protocol == IPPROTO_UDP) in get_net_transport_info()
|
/drivers/staging/rtl8192e/ |
D | rtllib_tx.c | 253 struct iphdr *ip; in rtllib_classify() 635 const struct iphdr *ip = (struct iphdr *) in rtllib_xmit_inter()
|
/drivers/net/usb/ |
D | hso.c | 174 struct iphdr rx_ip_hdr; 733 odev->rx_buf_missing = sizeof(struct iphdr); in hso_net_open() 902 (frame_len < sizeof(struct iphdr))) { in packetizeRx() 923 sizeof(struct iphdr)); in packetizeRx() 925 sizeof(struct iphdr)); in packetizeRx() 928 odev->rx_buf_size = sizeof(struct iphdr); in packetizeRx() 932 frame_len - sizeof(struct iphdr); in packetizeRx() 968 odev->rx_buf_missing = sizeof(struct iphdr); in packetizeRx() 989 odev->rx_buf_missing = sizeof(struct iphdr); in packetizeRx()
|
/drivers/net/ethernet/ibm/ |
D | ibmveth.c | 1192 struct iphdr *iph = (struct iphdr *)skb->data; in ibmveth_rx_mss_helper() 1238 struct iphdr *iph; in ibmveth_poll() 1297 iph = (struct iphdr *)skb->data; in ibmveth_poll() 1313 struct iphdr *iph = (struct iphdr *)skb->data; in ibmveth_poll()
|
/drivers/staging/rtl8712/ |
D | xmit_linux.c | 83 struct iphdr ip_hdr; in r8712_set_qos()
|
/drivers/staging/gdm72xx/ |
D | gdm_qos.c | 258 struct iphdr *iph = (struct iphdr *)((char *)ethh + ETH_HLEN); in gdm_qos_send_hci_pkt()
|
/drivers/staging/gdm724x/ |
D | gdm_lte.c | 352 struct iphdr *ip; in gdm_lte_tx_nic_type() 385 (network_data + sizeof(struct iphdr)); in gdm_lte_tx_nic_type() 627 int offset = sizeof(struct iphdr) + in gdm_lte_netif_rx()
|
/drivers/staging/rtl8723au/os_dep/ |
D | os_intfs.c | 312 struct iphdr *piphdr; in rtw_recv_select_queue23a() 321 piphdr = (struct iphdr *)(pdata + ETH_HLEN); in rtw_recv_select_queue23a()
|
/drivers/net/ethernet/sfc/ |
D | selftest.c | 46 struct iphdr ip; 392 sizeof(struct iphdr)); in efx_iterate_state()
|
D | rx.c | 885 const struct iphdr *ip = in efx_filter_rfs() 886 (const struct iphdr *)(skb->data + nhoff); in efx_filter_rfs()
|
/drivers/net/ethernet/intel/i40evf/ |
D | i40e_txrx.c | 790 struct iphdr *iph; in i40e_rx_checksum() 1445 struct iphdr *iph; in i40e_tso() 1503 struct iphdr *this_ip_hdr; in i40e_tx_enable_csum() 1507 struct iphdr *oiph; in i40e_tx_enable_csum()
|
/drivers/staging/wilc1000/ |
D | linux_wlan.c | 1367 struct iphdr *ih; in mac_xmit() 1399 ih = (struct iphdr *)(skb->data + sizeof(struct ethhdr)); in mac_xmit() 1401 pu8UdpBuffer = (char *)ih + sizeof(struct iphdr); in mac_xmit()
|
/drivers/net/wireless/ipw2x00/ |
D | libipw_tx.c | 226 struct iphdr *ip; in libipw_classify()
|
/drivers/net/ethernet/sgi/ |
D | ioc3-eth.c | 512 struct iphdr *ih; in ioc3_tcpudp_checksum() 533 ih = (struct iphdr *) ((char *)eh + ETH_HLEN); in ioc3_tcpudp_checksum() 1419 const struct iphdr *ih = ip_hdr(skb); in ioc3_start_xmit()
|
/drivers/net/ethernet/sun/ |
D | sunvnet.c | 319 struct iphdr *iph = ip_hdr(skb); in vnet_fullcsum() 394 struct iphdr *iph = (struct iphdr *)skb->data; in vnet_rx_one() 1095 struct iphdr *iph = ip_hdr(nskb); in vnet_skb_shape()
|
/drivers/staging/rtl8188eu/os_dep/ |
D | os_intfs.c | 690 struct iphdr *piphdr; in rtw_recv_select_queue() 700 piphdr = (struct iphdr *)(pdata+ETH_HLEN); in rtw_recv_select_queue()
|
/drivers/net/ethernet/mellanox/mlx4/ |
D | en_tx.c | 918 struct iphdr *ipv4 = (struct iphdr *)skb_inner_network_header(skb); in mlx4_en_xmit()
|