ip_hdr 147 drivers/crypto/caam/pdb.h u32 ip_hdr[0]; ip_hdr 292 drivers/crypto/chelsio/chcr_ipsec.c if (ip_hdr(skb)->ihl > 5) ip_hdr 63 drivers/infiniband/sw/rxe/rxe_icrc.c memcpy(pshdr, ip_hdr(skb), hdr_size); ip_hdr 304 drivers/infiniband/sw/rxe/rxe_net.c iph = ip_hdr(skb); ip_hdr 174 drivers/infiniband/sw/rxe/rxe_recv.c if (ip_hdr(skb)->daddr != saddr->s_addr) { ip_hdr 176 drivers/infiniband/sw/rxe/rxe_recv.c &ip_hdr(skb)->daddr, ip_hdr 181 drivers/infiniband/sw/rxe/rxe_recv.c if (ip_hdr(skb)->saddr != daddr->s_addr) { ip_hdr 183 drivers/infiniband/sw/rxe/rxe_recv.c &ip_hdr(skb)->saddr, ip_hdr 287 drivers/infiniband/sw/rxe/rxe_recv.c ipv6_addr_set_v4mapped(ip_hdr(skb)->daddr, ip_hdr 338 drivers/infiniband/sw/rxe/rxe_recv.c ipv6_addr_set_v4mapped(ip_hdr(skb)->daddr, ip_hdr 400 drivers/infiniband/sw/rxe/rxe_recv.c &ip_hdr(skb)->saddr); ip_hdr 776 drivers/infiniband/sw/rxe/rxe_resp.c memcpy(&hdr->roce4grh, ip_hdr(skb), sizeof(hdr->roce4grh)); ip_hdr 429 drivers/infiniband/ulp/opa_vnic/opa_vnic_encap.c proto = ip_hdr(skb)->protocol; ip_hdr 1399 drivers/net/bonding/bond_alb.c iph = ip_hdr(skb); ip_hdr 3268 drivers/net/bonding/bond_main.c iph = ip_hdr(skb); ip_hdr 3929 drivers/net/bonding/bond_main.c iph = ip_hdr(skb); ip_hdr 2078 drivers/net/ethernet/amazon/ena/ena_netdev.c switch (ip_hdr(skb)->version) { ip_hdr 2081 drivers/net/ethernet/amazon/ena/ena_netdev.c if (ip_hdr(skb)->frag_off & htons(IP_DF)) ip_hdr 2085 drivers/net/ethernet/amazon/ena/ena_netdev.c l4_protocol = ip_hdr(skb)->protocol; ip_hdr 1791 drivers/net/ethernet/amd/xgbe/xgbe-drv.c if (ip_hdr(skb)->protocol != IPPROTO_UDP) ip_hdr 326 drivers/net/ethernet/apm/xgene/xgene_enet_main.c iph = ip_hdr(skb); ip_hdr 591 drivers/net/ethernet/apm/xgene/xgene_enet_main.c struct iphdr *iph = ip_hdr(skb); ip_hdr 446 drivers/net/ethernet/aquantia/atlantic/aq_nic.c (ip_hdr(skb)->version == 6) ? 1U : 0U; ip_hdr 485 drivers/net/ethernet/aquantia/atlantic/aq_nic.c if (ip_hdr(skb)->version == 4) { ip_hdr 487 drivers/net/ethernet/aquantia/atlantic/aq_nic.c (ip_hdr(skb)->protocol == IPPROTO_TCP) ? ip_hdr 490 drivers/net/ethernet/aquantia/atlantic/aq_nic.c (ip_hdr(skb)->protocol == IPPROTO_UDP) ? ip_hdr 492 drivers/net/ethernet/aquantia/atlantic/aq_nic.c } else if (ip_hdr(skb)->version == 6) { ip_hdr 1412 drivers/net/ethernet/atheros/alx/main.c struct iphdr *iph = ip_hdr(skb); ip_hdr 1989 drivers/net/ethernet/atheros/atl1c/atl1c_main.c real_len = (((unsigned char *)ip_hdr(skb) - skb->data) ip_hdr 1990 drivers/net/ethernet/atheros/atl1c/atl1c_main.c + ntohs(ip_hdr(skb)->tot_len)); ip_hdr 2003 drivers/net/ethernet/atheros/atl1c/atl1c_main.c ip_hdr(skb)->check = 0; ip_hdr 2005 drivers/net/ethernet/atheros/atl1c/atl1c_main.c ip_hdr(skb)->saddr, ip_hdr 2006 drivers/net/ethernet/atheros/atl1c/atl1c_main.c ip_hdr(skb)->daddr, ip_hdr 1638 drivers/net/ethernet/atheros/atl1e/atl1e_main.c real_len = (((unsigned char *)ip_hdr(skb) - skb->data) ip_hdr 1639 drivers/net/ethernet/atheros/atl1e/atl1e_main.c + ntohs(ip_hdr(skb)->tot_len)); ip_hdr 1651 drivers/net/ethernet/atheros/atl1e/atl1e_main.c ip_hdr(skb)->check = 0; ip_hdr 1652 drivers/net/ethernet/atheros/atl1e/atl1e_main.c ip_hdr(skb)->tot_len = 0; ip_hdr 1654 drivers/net/ethernet/atheros/atl1e/atl1e_main.c ip_hdr(skb)->saddr, ip_hdr 1655 drivers/net/ethernet/atheros/atl1e/atl1e_main.c ip_hdr(skb)->daddr, ip_hdr 1657 drivers/net/ethernet/atheros/atl1e/atl1e_main.c tpd->word3 |= (ip_hdr(skb)->ihl & ip_hdr 2114 drivers/net/ethernet/atheros/atlx/atl1.c struct iphdr *iph = ip_hdr(skb); ip_hdr 1245 drivers/net/ethernet/broadcom/bcmsysport.c ip_proto = ip_hdr(skb)->protocol; ip_hdr 6660 drivers/net/ethernet/broadcom/bnx2.c iph = ip_hdr(skb); ip_hdr 699 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c const struct iphdr *iph = ip_hdr(skb); ip_hdr 3352 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c prot = ip_hdr(skb)->protocol; ip_hdr 3489 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c pbd->ip_id = bswab16(ip_hdr(skb)->id); ip_hdr 3491 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c bswab16(~csum_tcpudp_magic(ip_hdr(skb)->saddr, ip_hdr 3492 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c ip_hdr(skb)->daddr, ip_hdr 3660 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c struct iphdr *iph = ip_hdr(skb); ip_hdr 3706 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c if (ip_hdr(skb)->protocol == IPPROTO_UDP) { ip_hdr 3799 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c ip_hdr(skb)->protocol, skb_shinfo(skb)->gso_type, xmit_type, ip_hdr 1367 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct iphdr *iph = ip_hdr(skb); ip_hdr 1434 drivers/net/ethernet/broadcom/bnxt/bnxt.c iph = ip_hdr(skb); ip_hdr 1515 drivers/net/ethernet/broadcom/genet/bcmgenet.c ip_proto = ip_hdr(skb)->protocol; ip_hdr 7963 drivers/net/ethernet/broadcom/tg3.c iph = ip_hdr(skb); ip_hdr 2496 drivers/net/ethernet/brocade/bna/bnad.c struct iphdr *iph = ip_hdr(skb); ip_hdr 2865 drivers/net/ethernet/brocade/bna/bnad.c proto = ip_hdr(skb)->protocol; ip_hdr 1509 drivers/net/ethernet/cadence/macb_main.c if (ip_hdr(skb)->protocol == IPPROTO_UDP) ip_hdr 1676 drivers/net/ethernet/cadence/macb_main.c if (!skb_is_nonlinear(skb) || (ip_hdr(skb)->protocol != IPPROTO_UDP)) ip_hdr 1800 drivers/net/ethernet/cadence/macb_main.c is_udp = !!(ip_hdr(skb)->protocol == IPPROTO_UDP); ip_hdr 1806 drivers/net/ethernet/chelsio/cxgb/sge.c hdr->ip_hdr_words = ip_hdr(skb)->ihl; ip_hdr 1828 drivers/net/ethernet/chelsio/cxgb/sge.c ip_hdr(skb)->protocol == IPPROTO_UDP) { ip_hdr 1207 drivers/net/ethernet/chelsio/cxgb3/sge.c V_LSO_IPHDR_WORDS(ip_hdr(skb)->ihl) | ip_hdr 66 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ptp.c ip_hdr(skb)->protocol == IPPROTO_UDP && ip_hdr 1108 drivers/net/ethernet/chelsio/cxgb4/sge.c ver = ip_hdr(skb)->version; ip_hdr 1109 drivers/net/ethernet/chelsio/cxgb4/sge.c proto = (ver == 4) ? ip_hdr(skb)->protocol : ip_hdr 1229 drivers/net/ethernet/chelsio/cxgb4/sge.c l4_hdr = ip_hdr(skb)->protocol; ip_hdr 1261 drivers/net/ethernet/chelsio/cxgb4/sge.c bool v6 = (ip_hdr(skb)->version == 6); ip_hdr 1503 drivers/net/ethernet/chelsio/cxgb4/sge.c struct iphdr *iph = ip_hdr(skb); ip_hdr 1083 drivers/net/ethernet/chelsio/cxgb4vf/sge.c const struct iphdr *iph = ip_hdr(skb); ip_hdr 300 drivers/net/ethernet/cisco/enic/enic_main.c proto = ip_hdr(skb)->protocol; ip_hdr 695 drivers/net/ethernet/cisco/enic/enic_main.c ip_hdr(skb)->check = 0; ip_hdr 696 drivers/net/ethernet/cisco/enic/enic_main.c tcp_hdr(skb)->check = ~csum_tcpudp_magic(ip_hdr(skb)->saddr, ip_hdr 697 drivers/net/ethernet/cisco/enic/enic_main.c ip_hdr(skb)->daddr, 0, IPPROTO_TCP, 0); ip_hdr 1171 drivers/net/ethernet/cortina/gemini.c tcp = ip_hdr(skb)->protocol == IPPROTO_TCP; ip_hdr 901 drivers/net/ethernet/emulex/benet/be.h if (ip_hdr(skb)->version == 4) ip_hdr 902 drivers/net/ethernet/emulex/benet/be.h val = (ip_hdr(skb)->protocol == IPPROTO_TCP); ip_hdr 903 drivers/net/ethernet/emulex/benet/be.h else if (ip_hdr(skb)->version == 6) ip_hdr 913 drivers/net/ethernet/emulex/benet/be.h if (ip_hdr(skb)->version == 4) ip_hdr 914 drivers/net/ethernet/emulex/benet/be.h val = (ip_hdr(skb)->protocol == IPPROTO_UDP); ip_hdr 915 drivers/net/ethernet/emulex/benet/be.h else if (ip_hdr(skb)->version == 6) ip_hdr 923 drivers/net/ethernet/emulex/benet/be.h return skb->protocol == htons(ETH_P_IP) && ip_hdr(skb)->version == 4; ip_hdr 928 drivers/net/ethernet/emulex/benet/be.h if (ip_hdr(skb)->version == 6) ip_hdr 813 drivers/net/ethernet/emulex/benet/be_main.c return (ip_hdr(skb)->version == 4) ? ip_hdr 814 drivers/net/ethernet/emulex/benet/be_main.c ip_hdr(skb)->protocol : ipv6_hdr(skb)->nexthdr; ip_hdr 1142 drivers/net/ethernet/emulex/benet/be_main.c ip = (struct iphdr *)ip_hdr(skb); ip_hdr 1463 drivers/net/ethernet/emulex/benet/be_main.c if (ip_hdr(skb)->protocol == IPPROTO_TCP) { ip_hdr 1473 drivers/net/ethernet/emulex/benet/be_main.c } else if (ip_hdr(skb)->protocol == ip_hdr 5239 drivers/net/ethernet/emulex/benet/be_main.c l4_hdr = ip_hdr(skb)->protocol; ip_hdr 686 drivers/net/ethernet/faraday/ftgmac100.c u8 ip_proto = ip_hdr(skb)->protocol; ip_hdr 1435 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c iph = ip_hdr(skb); ip_hdr 363 drivers/net/ethernet/freescale/fec_main.c return skb->protocol == htons(ETH_P_IP) && ip_hdr(skb)->version == 4; ip_hdr 377 drivers/net/ethernet/freescale/fec_main.c ip_hdr(skb)->check = 0; ip_hdr 1735 drivers/net/ethernet/freescale/gianfar.c if (ip_hdr(skb)->protocol == IPPROTO_UDP) { ip_hdr 85 drivers/net/ethernet/hisilicon/hns/hns_enet.c iphdr = ip_hdr(skb); ip_hdr 2484 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c const struct iphdr *iph = ip_hdr(skb); ip_hdr 1966 drivers/net/ethernet/ibm/ehea/ehea_main.c switch (ip_hdr(skb)->protocol) { ip_hdr 1046 drivers/net/ethernet/ibm/ibmveth.c ip_hdr(skb)->protocol != IPPROTO_TCP) || ip_hdr 1131 drivers/net/ethernet/ibm/ibmveth.c ip_hdr(skb)->check = 0xffff; ip_hdr 1277 drivers/net/ethernet/ibm/ibmvnic.c hdr_len[1] = ip_hdr(skb)->ihl * 4; ip_hdr 1278 drivers/net/ethernet/ibm/ibmvnic.c if (ip_hdr(skb)->protocol == IPPROTO_TCP) ip_hdr 1280 drivers/net/ethernet/ibm/ibmvnic.c else if (ip_hdr(skb)->protocol == IPPROTO_UDP) ip_hdr 1529 drivers/net/ethernet/ibm/ibmvnic.c proto = ip_hdr(skb)->protocol; ip_hdr 2708 drivers/net/ethernet/intel/e1000/e1000_main.c struct iphdr *iph = ip_hdr(skb); ip_hdr 2726 drivers/net/ethernet/intel/e1000/e1000_main.c ipcso = (void *)&(ip_hdr(skb)->check) - (void *)skb->data; ip_hdr 2776 drivers/net/ethernet/intel/e1000/e1000_main.c if (ip_hdr(skb)->protocol == IPPROTO_TCP) ip_hdr 5453 drivers/net/ethernet/intel/e1000e/netdev.c struct iphdr *iph = ip_hdr(skb); ip_hdr 5468 drivers/net/ethernet/intel/e1000e/netdev.c ipcso = (void *)&(ip_hdr(skb)->check) - (void *)skb->data; ip_hdr 5515 drivers/net/ethernet/intel/e1000e/netdev.c if (ip_hdr(skb)->protocol == IPPROTO_TCP) ip_hdr 698 drivers/net/ethernet/intel/fm10k/fm10k_main.c l4_hdr = ip_hdr(skb)->protocol; ip_hdr 5804 drivers/net/ethernet/intel/igb/igb_main.c (ip_hdr(skb)->protocol == IPPROTO_SCTP)) || ip_hdr 2102 drivers/net/ethernet/intel/igbvf/netdev.c (ip_hdr(skb)->protocol == IPPROTO_SCTP)) || ip_hdr 867 drivers/net/ethernet/intel/igc/igc_main.c (ip_hdr(skb)->protocol == IPPROTO_SCTP)) || ip_hdr 1203 drivers/net/ethernet/intel/ixgb/ixgb_main.c iph = ip_hdr(skb); ip_hdr 818 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c if (ip_hdr(skb)->ihl != 5) ip_hdr 8082 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c (ip_hdr(skb)->protocol == IPPROTO_SCTP)) || ip_hdr 423 drivers/net/ethernet/intel/ixgbevf/ipsec.c if (ip_hdr(skb)->ihl != 5) ip_hdr 3866 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c (ip_hdr(skb)->protocol == IPPROTO_SCTP)) || ip_hdr 950 drivers/net/ethernet/jme.c if ((ip_hdr(skb)->protocol != IPPROTO_UDP) || ip_hdr 952 drivers/net/ethernet/jme.c (ip_hdr(skb)->ihl << 2) + ip_hdr 958 drivers/net/ethernet/jme.c ETH_HLEN + (ip_hdr(skb)->ihl << 2)); ip_hdr 2072 drivers/net/ethernet/jme.c struct iphdr *iph = ip_hdr(skb); ip_hdr 2102 drivers/net/ethernet/jme.c ip_proto = ip_hdr(skb)->protocol; ip_hdr 687 drivers/net/ethernet/marvell/mv643xx_eth.c hdr_len = (void *)ip_hdr(skb) - (void *)skb->data; ip_hdr 705 drivers/net/ethernet/marvell/mv643xx_eth.c ip_hdr(skb)->ihl << TX_IHL_SHIFT; ip_hdr 709 drivers/net/ethernet/marvell/mv643xx_eth.c switch (ip_hdr(skb)->protocol) { ip_hdr 1855 drivers/net/ethernet/marvell/mvneta.c struct iphdr *ip4h = ip_hdr(skb); ip_hdr 2894 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c struct iphdr *ip4h = ip_hdr(skb); ip_hdr 1907 drivers/net/ethernet/marvell/sky2.c if (ip_hdr(skb)->protocol == IPPROTO_UDP) ip_hdr 2740 drivers/net/ethernet/mellanox/mlx4/en_netdev.c (ip_hdr(skb)->version != 4) || ip_hdr 61 drivers/net/ethernet/mellanox/mlx5/core/en_accel/en_accel.h l4_proto = ip_hdr(skb)->protocol; ip_hdr 448 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c if (ip_hdr(skb)->ihl > 5) ip_hdr 113 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_rxtx.c struct iphdr *ipv4hdr = ip_hdr(skb); ip_hdr 160 drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls_rxtx.c iph = ip_hdr(nskb); ip_hdr 4276 drivers/net/ethernet/mellanox/mlx5/core/en_main.c proto = ip_hdr(skb)->protocol; ip_hdr 200 drivers/net/ethernet/mellanox/mlx5/core/en_selftest.c iph = ip_hdr(skb); ip_hdr 62 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c dscp_cp = ipv4_get_dsfield(ip_hdr(skb)) >> 2; ip_hdr 1104 drivers/net/ethernet/natsemi/ns83820.c if (IPPROTO_TCP == ip_hdr(skb)->protocol) ip_hdr 1106 drivers/net/ethernet/natsemi/ns83820.c else if (IPPROTO_UDP == ip_hdr(skb)->protocol) ip_hdr 4037 drivers/net/ethernet/neterion/s2io.c ip = ip_hdr(skb); ip_hdr 638 drivers/net/ethernet/neterion/vxge/vxge-main.c ip = ip_hdr(skb); ip_hdr 792 drivers/net/ethernet/netronome/nfp/nfp_net_common.c iph = skb->encapsulation ? inner_ip_hdr(skb) : ip_hdr(skb); ip_hdr 3521 drivers/net/ethernet/netronome/nfp/nfp_net_common.c l4_hdr = ip_hdr(skb)->protocol; ip_hdr 1119 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c struct iphdr *iph = ip_hdr(skb); ip_hdr 1355 drivers/net/ethernet/pasemi/pasemi_mac.c switch (ip_hdr(skb)->protocol) { ip_hdr 1462 drivers/net/ethernet/pasemi/pasemi_mac.c switch (ip_hdr(skb)->protocol) { ip_hdr 488 drivers/net/ethernet/pensando/ionic/ionic_txrx.c ip_hdr(skb)->check = 0; ip_hdr 490 drivers/net/ethernet/pensando/ionic/ionic_txrx.c ~csum_tcpudp_magic(ip_hdr(skb)->saddr, ip_hdr 491 drivers/net/ethernet/pensando/ionic/ionic_txrx.c ip_hdr(skb)->daddr, ip_hdr 1905 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c l4proto = ip_hdr(skb)->protocol; ip_hdr 392 drivers/net/ethernet/qlogic/qede/qede_filter.c if (tpos->tuple.src_ipv4 == ip_hdr(skb)->saddr && ip_hdr 393 drivers/net/ethernet/qlogic/qede/qede_filter.c tpos->tuple.dst_ipv4 == ip_hdr(skb)->daddr) ip_hdr 472 drivers/net/ethernet/qlogic/qede/qede_filter.c ip_proto = ip_hdr(skb)->protocol; ip_hdr 525 drivers/net/ethernet/qlogic/qede/qede_filter.c n->tuple.src_ipv4 = ip_hdr(skb)->saddr; ip_hdr 526 drivers/net/ethernet/qlogic/qede/qede_filter.c n->tuple.dst_ipv4 = ip_hdr(skb)->daddr; ip_hdr 252 drivers/net/ethernet/qlogic/qede/qede_fp.c l4_proto = ip_hdr(skb)->protocol; ip_hdr 865 drivers/net/ethernet/qlogic/qede/qede_fp.c const struct iphdr *iph = ip_hdr(skb); ip_hdr 1713 drivers/net/ethernet/qlogic/qede/qede_fp.c l4_proto = ip_hdr(skb)->protocol; ip_hdr 2286 drivers/net/ethernet/qlogic/qla3xxx.c const struct iphdr *ip = ip_hdr(skb); ip_hdr 439 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c if (ip_hdr(skb)->version == 6) ip_hdr 558 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c l4proto = ip_hdr(skb)->protocol; ip_hdr 754 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c l4_is_udp = ip_hdr(skb)->protocol == IPPROTO_UDP; ip_hdr 1261 drivers/net/ethernet/qualcomm/emac/emac-mac.c u32 pkt_len = ((unsigned char *)ip_hdr(skb) - skb->data) ip_hdr 1262 drivers/net/ethernet/qualcomm/emac/emac-mac.c + ntohs(ip_hdr(skb)->tot_len); ip_hdr 1276 drivers/net/ethernet/qualcomm/emac/emac-mac.c ip_hdr(skb)->check = 0; ip_hdr 1278 drivers/net/ethernet/qualcomm/emac/emac-mac.c ~csum_tcpudp_magic(ip_hdr(skb)->saddr, ip_hdr 1279 drivers/net/ethernet/qualcomm/emac/emac-mac.c ip_hdr(skb)->daddr, ip_hdr 766 drivers/net/ethernet/realtek/8139cp.c const struct iphdr *ip = ip_hdr(skb); ip_hdr 5779 drivers/net/ethernet/realtek/r8169_main.c const struct iphdr *ip = ip_hdr(skb); ip_hdr 5822 drivers/net/ethernet/realtek/r8169_main.c ip_protocol = ip_hdr(skb)->protocol; ip_hdr 2343 drivers/net/ethernet/sfc/ef10.c ip = ip_hdr(skb); ip_hdr 1607 drivers/net/ethernet/sfc/ptp.c ip_hdr(skb)->protocol == IPPROTO_UDP && ip_hdr 156 drivers/net/ethernet/sfc/tx_tso.c EFX_WARN_ON_ONCE_PARANOID(ip_hdr(skb)->protocol != IPPROTO_TCP); ip_hdr 185 drivers/net/ethernet/sfc/tx_tso.c st->ipv4_id = ntohs(ip_hdr(skb)->id); ip_hdr 1384 drivers/net/ethernet/sgi/ioc3-eth.c const struct iphdr *ih = ip_hdr(skb); ip_hdr 1138 drivers/net/ethernet/socionext/netsec.c ip_hdr(skb)->tot_len = 0; ip_hdr 1140 drivers/net/ethernet/socionext/netsec.c ~tcp_v4_check(0, ip_hdr(skb)->saddr, ip_hdr 1141 drivers/net/ethernet/socionext/netsec.c ip_hdr(skb)->daddr, 0); ip_hdr 277 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c ihdr = ip_hdr(skb); ip_hdr 868 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c ihdr = ip_hdr(skb); ip_hdr 6562 drivers/net/ethernet/sun/niu.c ip_proto = ip_hdr(skb)->protocol; ip_hdr 6563 drivers/net/ethernet/sun/niu.c ihl = ip_hdr(skb)->ihl; ip_hdr 309 drivers/net/ethernet/sun/sunvnet_common.c struct iphdr *iph = ip_hdr(skb); ip_hdr 420 drivers/net/ethernet/sun/sunvnet_common.c struct iphdr *iph = ip_hdr(skb); ip_hdr 429 drivers/net/ethernet/sun/sunvnet_common.c struct iphdr *iph = ip_hdr(skb); ip_hdr 1175 drivers/net/ethernet/sun/sunvnet_common.c struct iphdr *iph = ip_hdr(nskb); ip_hdr 1234 drivers/net/ethernet/sun/sunvnet_common.c proto = ip_hdr(skb)->protocol; ip_hdr 1304 drivers/net/ethernet/sun/sunvnet_common.c if (ip_hdr(curr)->protocol == IPPROTO_TCP) ip_hdr 1306 drivers/net/ethernet/sun/sunvnet_common.c else if (ip_hdr(curr)->protocol == IPPROTO_UDP) ip_hdr 1362 drivers/net/ethernet/sun/sunvnet_common.c fl4.flowi4_tos = RT_TOS(ip_hdr(skb)->tos); ip_hdr 1363 drivers/net/ethernet/sun/sunvnet_common.c fl4.daddr = ip_hdr(skb)->daddr; ip_hdr 1364 drivers/net/ethernet/sun/sunvnet_common.c fl4.saddr = ip_hdr(skb)->saddr; ip_hdr 710 drivers/net/ethernet/toshiba/ps3_gelic_net.c if (ip_hdr(skb)->protocol == IPPROTO_TCP) ip_hdr 715 drivers/net/ethernet/toshiba/ps3_gelic_net.c else if (ip_hdr(skb)->protocol == IPPROTO_UDP) ip_hdr 682 drivers/net/ethernet/toshiba/spider_net.c switch (ip_hdr(skb)->protocol) { ip_hdr 2585 drivers/net/ethernet/via/via-velocity.c const struct iphdr *ip = ip_hdr(skb); ip_hdr 177 drivers/net/geneve.c iph = ip_hdr(skb); /* outer IP header... */ ip_hdr 410 drivers/net/geneve.c struct iphdr *iph = ip_hdr(skb); ip_hdr 795 drivers/net/geneve.c tos = ip_tunnel_get_dsfield(ip_hdr(skb), skb); ip_hdr 844 drivers/net/geneve.c prio = ip_tunnel_get_dsfield(ip_hdr(skb), skb); ip_hdr 897 drivers/net/geneve.c tos = ip_tunnel_ecn_encap(key->tos, ip_hdr(skb), skb); ip_hdr 902 drivers/net/geneve.c tos = ip_tunnel_ecn_encap(fl4.flowi4_tos, ip_hdr(skb), skb); ip_hdr 904 drivers/net/geneve.c ttl = ip_tunnel_get_ttl(ip_hdr(skb), skb); ip_hdr 917 drivers/net/geneve.c struct iphdr *iph = ip_hdr(skb); ip_hdr 958 drivers/net/geneve.c prio = ip_tunnel_ecn_encap(key->tos, ip_hdr(skb), skb); ip_hdr 962 drivers/net/geneve.c ip_hdr(skb), skb); ip_hdr 964 drivers/net/geneve.c ttl = ip_tunnel_get_ttl(ip_hdr(skb), skb); ip_hdr 496 drivers/net/gtp.c iph = ip_hdr(skb); ip_hdr 477 drivers/net/hyperv/netvsc_drv.c struct iphdr *ip = ip_hdr(skb); ip_hdr 632 drivers/net/hyperv/netvsc_drv.c ip_hdr(skb)->tot_len = 0; ip_hdr 633 drivers/net/hyperv/netvsc_drv.c ip_hdr(skb)->check = 0; ip_hdr 635 drivers/net/hyperv/netvsc_drv.c ~csum_tcpudp_magic(ip_hdr(skb)->saddr, ip_hdr 636 drivers/net/hyperv/netvsc_drv.c ip_hdr(skb)->daddr, 0, IPPROTO_TCP, 0); ip_hdr 661 drivers/net/hyperv/netvsc_drv.c if (ip_hdr(skb)->protocol == IPPROTO_TCP) ip_hdr 159 drivers/net/ipvlan/ipvlan_core.c ip4h = ip_hdr(skb); ip_hdr 417 drivers/net/ipvlan/ipvlan_core.c const struct iphdr *ip4h = ip_hdr(skb); ip_hdr 51 drivers/net/ipvlan/ipvlan_l3s.c struct iphdr *ip4h = ip_hdr(skb); ip_hdr 224 drivers/net/ppp/pptp.c iph = ip_hdr(skb); ip_hdr 346 drivers/net/ppp/pptp.c iph = ip_hdr(skb); ip_hdr 945 drivers/net/thunderbolt.c __sum16 *ipcso = dest + ((void *)&(ip_hdr(skb)->check) - data); ip_hdr 949 drivers/net/thunderbolt.c ip_hdr(skb)->ihl); ip_hdr 951 drivers/net/thunderbolt.c if (ip_hdr(skb)->protocol == IPPROTO_TCP) ip_hdr 953 drivers/net/thunderbolt.c else if (ip_hdr(skb)->protocol == IPPROTO_UDP) ip_hdr 958 drivers/net/thunderbolt.c *tucso = ~csum_tcpudp_magic(ip_hdr(skb)->saddr, ip_hdr 959 drivers/net/thunderbolt.c ip_hdr(skb)->daddr, 0, ip_hdr 960 drivers/net/thunderbolt.c ip_hdr(skb)->protocol, 0); ip_hdr 1843 drivers/net/usb/r8152.c ip_protocol = ip_hdr(skb)->protocol; ip_hdr 853 drivers/net/vmxnet3/vmxnet3_drv.c const struct iphdr *iph = ip_hdr(skb); ip_hdr 939 drivers/net/vmxnet3/vmxnet3_drv.c struct iphdr *iph = ip_hdr(skb); ip_hdr 255 drivers/net/vrf.c ip4h = ip_hdr(skb); ip_hdr 686 drivers/net/vrf.c if (ipv4_is_multicast(ip_hdr(skb)->daddr) || ip_hdr 687 drivers/net/vrf.c ipv4_is_lbcast(ip_hdr(skb)->daddr)) ip_hdr 1046 drivers/net/vrf.c if (ipv4_is_multicast(ip_hdr(skb)->daddr)) ip_hdr 1609 drivers/net/vxlan.c saddr.sin.sin_addr.s_addr = ip_hdr(skb)->saddr; ip_hdr 2066 drivers/net/vxlan.c pip = ip_hdr(skb); ip_hdr 2422 drivers/net/vxlan.c const struct iphdr *old_iph = ip_hdr(skb); ip_hdr 110 drivers/net/wireless/ath/ath6kl/txrx.c u8 up = 0, traffic_class, *ip_hdr; ip_hdr 136 drivers/net/wireless/ath/ath6kl/txrx.c ip_hdr = (u8 *)(datap + 1); ip_hdr 142 drivers/net/wireless/ath/ath6kl/txrx.c ip_hdr = (u8 *)(llc_hdr + 1); ip_hdr 147 drivers/net/wireless/ath/ath6kl/txrx.c ip_hdr, 0); ip_hdr 273 drivers/net/wireless/ath/ath6kl/wmi.c struct iphdr *ip_hdr = (struct iphdr *) pkt; ip_hdr 284 drivers/net/wireless/ath/ath6kl/wmi.c ip_pri = ip_hdr->tos >> 5; ip_hdr 1682 drivers/net/wireless/ath/wil6210/txrx.c protocol = ip_hdr(skb)->protocol; ip_hdr 1800 drivers/net/wireless/ath/wil6210/txrx.c ip_hdr(skb)->tot_len = 0; ip_hdr 1801 drivers/net/wireless/ath/wil6210/txrx.c ip_hdr(skb)->check = 0; ip_hdr 218 drivers/net/wireless/intel/ipw2x00/libipw_tx.c ip = ip_hdr(skb); ip_hdr 4984 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c u8 protocol = ip_hdr(skb)->protocol; ip_hdr 125 drivers/net/wireless/intel/iwlwifi/mvm/tx.c protocol = ip_hdr(skb)->protocol; ip_hdr 171 drivers/net/wireless/intel/iwlwifi/mvm/tx.c ip_hdr(skb)->check = 0; ip_hdr 830 drivers/net/wireless/intel/iwlwifi/mvm/tx.c u16 ip_base_id = ipv4 ? ntohs(ip_hdr(skb)->id) : 0; ip_hdr 858 drivers/net/wireless/intel/iwlwifi/mvm/tx.c ip_hdr(tmp)->id = htons(ip_base_id + i * num_subframes); ip_hdr 867 drivers/net/wireless/intel/iwlwifi/mvm/tx.c ip_send_check(ip_hdr(tmp)); ip_hdr 1222 drivers/net/wireless/ti/wl18xx/main.c struct iphdr *ip_hdr; ip_hdr 1243 drivers/net/wireless/ti/wl18xx/main.c ip_hdr = (void *)skb_network_header(skb); ip_hdr 1244 drivers/net/wireless/ti/wl18xx/main.c desc->wl18xx_checksum_data |= (ip_hdr->protocol & 0x01); ip_hdr 961 drivers/s390/net/qeth_core.h if ((ipv == 4 && ip_hdr(skb)->protocol == IPPROTO_UDP) || ip_hdr 3542 drivers/s390/net/qeth_core_main.c tos = ipv4_get_dsfield(ip_hdr(skb)); ip_hdr 1332 drivers/s390/net/qeth_l3_main.c ip_eth_mc_map(ip_hdr(skb)->daddr, tg_addr); ip_hdr 1893 drivers/s390/net/qeth_l3_main.c if (ipv4_is_lbcast(ip_hdr(skb)->daddr)) ip_hdr 1895 drivers/s390/net/qeth_l3_main.c return ipv4_is_multicast(ip_hdr(skb)->daddr) ? ip_hdr 1988 drivers/s390/net/qeth_l3_main.c rt_nexthop(rt, ip_hdr(skb)->daddr) : ip_hdr 1989 drivers/s390/net/qeth_l3_main.c ip_hdr(skb)->daddr; ip_hdr 2010 drivers/s390/net/qeth_l3_main.c struct iphdr *iph = ip_hdr(skb); ip_hdr 366 drivers/staging/octeon/ethernet-tx.c (ip_hdr(skb)->version == 4) && ip_hdr 367 drivers/staging/octeon/ethernet-tx.c (ip_hdr(skb)->ihl == 5) && ip_hdr 368 drivers/staging/octeon/ethernet-tx.c ((ip_hdr(skb)->frag_off == 0) || ip_hdr 369 drivers/staging/octeon/ethernet-tx.c (ip_hdr(skb)->frag_off == htons(1 << 14))) && ip_hdr 370 drivers/staging/octeon/ethernet-tx.c ((ip_hdr(skb)->protocol == IPPROTO_TCP) || ip_hdr 371 drivers/staging/octeon/ethernet-tx.c (ip_hdr(skb)->protocol == IPPROTO_UDP))) { ip_hdr 587 drivers/staging/octeon/ethernet-tx.c (ip_hdr(skb)->protocol == IPPROTO_TCP) || ip_hdr 588 drivers/staging/octeon/ethernet-tx.c (ip_hdr(skb)->protocol == IPPROTO_UDP); ip_hdr 599 drivers/staging/octeon/ethernet-tx.c work->word2.s.is_frag = !((ip_hdr(skb)->frag_off == 0) || ip_hdr 600 drivers/staging/octeon/ethernet-tx.c (ip_hdr(skb)->frag_off == ip_hdr 2584 drivers/staging/qlge/qlge_main.c struct iphdr *iph = ip_hdr(skb); ip_hdr 2607 drivers/staging/qlge/qlge_main.c struct iphdr *iph = ip_hdr(skb); ip_hdr 375 drivers/staging/rtl8188eu/core/rtw_xmit.c struct iphdr ip_hdr; ip_hdr 377 drivers/staging/rtl8188eu/core/rtw_xmit.c skb_copy_bits(skb, ETH_HLEN, &ip_hdr, sizeof(ip_hdr)); ip_hdr 378 drivers/staging/rtl8188eu/core/rtw_xmit.c pattrib->priority = ip_hdr.tos >> 5; ip_hdr 239 drivers/staging/rtl8188eu/os_dep/os_intfs.c dscp = ip_hdr(skb)->tos & 0xfc; ip_hdr 247 drivers/staging/rtl8192e/rtllib_tx.c ip = ip_hdr(skb); ip_hdr 269 drivers/staging/rtl8192u/ieee80211/ieee80211_tx.c ip = ip_hdr(skb); ip_hdr 69 drivers/staging/rtl8712/xmit_linux.c struct iphdr ip_hdr; ip_hdr 77 drivers/staging/rtl8712/xmit_linux.c _r8712_pktfile_read(ppktfile, (u8 *)&ip_hdr, sizeof(ip_hdr)); ip_hdr 79 drivers/staging/rtl8712/xmit_linux.c UserPriority = ip_hdr.tos >> 5; ip_hdr 658 drivers/staging/rtl8723bs/core/rtw_xmit.c struct iphdr ip_hdr; ip_hdr 667 drivers/staging/rtl8723bs/core/rtw_xmit.c _rtw_pktfile_read(ppktfile, (u8 *)&ip_hdr, sizeof(ip_hdr)); ip_hdr 669 drivers/staging/rtl8723bs/core/rtw_xmit.c UserPriority = ip_hdr.tos >> 5; ip_hdr 388 drivers/staging/rtl8723bs/os_dep/os_intfs.c dscp = ip_hdr(skb)->tos & 0xfc; ip_hdr 36 include/linux/ip.h return ntohs(ip_hdr(skb)->tot_len) - skb_network_header_len(skb); ip_hdr 441 include/linux/netfilter/ipset/ip_set.h return src ? ip_hdr(skb)->saddr : ip_hdr(skb)->daddr; ip_hdr 447 include/linux/netfilter/ipset/ip_set.h *addr = src ? ip_hdr(skb)->saddr : ip_hdr(skb)->daddr; ip_hdr 166 include/net/dst_metadata.h const struct iphdr *iph = ip_hdr(skb); ip_hdr 170 include/net/erspan.h tos = is_ipv4 ? ip_hdr(skb)->tos : ip_hdr 266 include/net/erspan.h tos = is_ipv4 ? ip_hdr(skb)->tos : ip_hdr 179 include/net/inet_ecn.h return IP_ECN_set_ce(ip_hdr(skb)); ip_hdr 198 include/net/inet_ecn.h return IP_ECN_set_ect1(ip_hdr(skb)); ip_hdr 276 include/net/inet_ecn.h inner = ip_hdr(skb)->tos; ip_hdr 291 include/net/inet_ecn.h inner = ip_hdr(skb)->tos; ip_hdr 389 include/net/inet_hashtables.h const struct iphdr *iph = ip_hdr(skb); ip_hdr 67 include/net/ip.h return ip_hdr(skb)->ihl * 4; ip_hdr 500 include/net/ip.h struct iphdr *iph = ip_hdr(skb); ip_hdr 527 include/net/ip.h return csum_tcpudp_nofold(ip_hdr(skb)->saddr, ip_hdr(skb)->daddr, ip_hdr 108 include/net/netfilter/nf_queue.h queue += reciprocal_scale(hash_v4(ip_hdr(skb), initval), ip_hdr 13 include/net/netfilter/nf_tables_ipv4.h ip = ip_hdr(pkt->skb); ip_hdr 382 include/net/route.h neigh = ip_neigh_gw4(dev, ip_hdr(skb)->daddr); ip_hdr 305 include/net/vxlan.h l4_hdr = ip_hdr(skb)->protocol; ip_hdr 484 net/atm/br2684.c iph = ip_hdr(skb); ip_hdr 352 net/atm/clip.c daddr = &ip_hdr(skb)->daddr; ip_hdr 591 net/atm/mpc.c if (skb->len < ETH_HLEN + ip_hdr(skb)->ihl * 4 || ip_hdr(skb)->ihl < 5) ip_hdr 774 net/atm/mpc.c eg->latest_ip_addr = ip_hdr(new_skb)->saddr; ip_hdr 382 net/batman-adv/main.c struct iphdr ip_hdr_tmp, *ip_hdr; ip_hdr 406 net/batman-adv/main.c ip_hdr = skb_header_pointer(skb, offset + sizeof(*ethhdr), ip_hdr 407 net/batman-adv/main.c sizeof(*ip_hdr), &ip_hdr_tmp); ip_hdr 408 net/batman-adv/main.c if (!ip_hdr) ip_hdr 410 net/batman-adv/main.c prio = (ipv4_get_dsfield(ip_hdr) & 0xfc) >> 5; ip_hdr 1005 net/batman-adv/multicast.c iphdr = ip_hdr(skb); ip_hdr 128 net/bridge/br_multicast.c ip.u.ip4 = ip_hdr(skb)->daddr; ip_hdr 251 net/bridge/br_multicast.c iph = ip_hdr(skb); ip_hdr 705 net/bridge/br_multicast.c br->ip4_querier.addr.u.ip4 = ip_hdr(skb)->saddr; ip_hdr 1221 net/bridge/br_multicast.c const struct iphdr *iph = ip_hdr(skb); ip_hdr 1586 net/bridge/br_multicast.c if (ip_hdr(skb)->protocol != IPPROTO_IGMP || ip_hdr 1607 net/bridge/br_multicast.c if (!ipv4_is_local_multicast(ip_hdr(skb)->daddr)) { ip_hdr 1609 net/bridge/br_multicast.c } else if (pim_ipv4_all_pim_routers(ip_hdr(skb)->daddr)) { ip_hdr 1610 net/bridge/br_multicast.c if (ip_hdr(skb)->protocol == IPPROTO_PIM) ip_hdr 1612 net/bridge/br_multicast.c } else if (ipv4_is_all_snoopers(ip_hdr(skb)->daddr)) { ip_hdr 2322 net/bridge/br_multicast.c t_len = ntohs(ip_hdr(skb)->tot_len) - ip_hdrlen(skb); ip_hdr 204 net/bridge/br_netfilter_hooks.c iph = ip_hdr(skb); ip_hdr 213 net/bridge/br_netfilter_hooks.c iph = ip_hdr(skb); ip_hdr 310 net/bridge/br_netfilter_hooks.c return ip_hdr(skb)->daddr != nf_bridge->ipv4_daddr; ip_hdr 355 net/bridge/br_netfilter_hooks.c struct iphdr *iph = ip_hdr(skb); ip_hdr 526 net/bridge/br_netfilter_hooks.c nf_bridge->ipv4_daddr = ip_hdr(skb)->daddr; ip_hdr 529 net/bridge/br_netfilter_hooks.c skb->transport_header = skb->network_header + ip_hdr(skb)->ihl * 4; ip_hdr 708 net/bridge/br_netfilter_hooks.c struct iphdr *iph = ip_hdr(skb); ip_hdr 46 net/bridge/netfilter/nf_conntrack_bridge.c iph = ip_hdr(skb); ip_hdr 147 net/bridge/netfilter/nf_conntrack_bridge.c if (!ip_is_fragment(ip_hdr(skb))) ip_hdr 199 net/bridge/netfilter/nf_conntrack_bridge.c iph = ip_hdr(skb); ip_hdr 248 net/bridge/netfilter/nf_conntrack_bridge.c len = ntohs(ip_hdr(skb)->tot_len); ip_hdr 50 net/bridge/netfilter/nft_reject_bridge.c iph = ip_hdr(skb); ip_hdr 119 net/bridge/netfilter/nft_reject_bridge.c if (ip_hdr(oldskb)->frag_off & htons(IP_OFFSET)) ip_hdr 128 net/bridge/netfilter/nft_reject_bridge.c if (pskb_trim_rcsum(oldskb, ntohs(ip_hdr(oldskb)->tot_len))) ip_hdr 131 net/bridge/netfilter/nft_reject_bridge.c proto = ip_hdr(oldskb)->protocol; ip_hdr 238 net/caif/chnl_net.c swap(ip_hdr(skb)->saddr, ip_hdr(skb)->daddr); ip_hdr 3149 net/core/dev.c inner_ip_hdr(skb) : ip_hdr(skb); ip_hdr 92 net/core/lwt_bpf.c struct iphdr *iph = ip_hdr(skb); ip_hdr 202 net/core/lwt_bpf.c struct iphdr *iph = ip_hdr(skb); ip_hdr 550 net/core/lwt_bpf.c protocol = ip_hdr(skb)->protocol; ip_hdr 638 net/core/lwt_bpf.c iph = ip_hdr(skb); ip_hdr 436 net/core/netpoll.c iph = ip_hdr(skb); ip_hdr 2585 net/core/pktgen.c iph = ip_hdr(skb); ip_hdr 4755 net/core/skbuff.c if (ip_hdr(skb)->frag_off & htons(IP_OFFSET | IP_MF)) ip_hdr 4765 net/core/skbuff.c csum = skb_checksum_setup_ip(skb, ip_hdr(skb)->protocol, off); ip_hdr 4770 net/core/skbuff.c *csum = ~csum_tcpudp_magic(ip_hdr(skb)->saddr, ip_hdr 4771 net/core/skbuff.c ip_hdr(skb)->daddr, ip_hdr 4773 net/core/skbuff.c ip_hdr(skb)->protocol, 0); ip_hdr 69 net/core/tso.c tso->ip_id = ntohs(ip_hdr(skb)->id); ip_hdr 381 net/dccp/ipv4.c return secure_dccp_sequence_number(ip_hdr(skb)->daddr, ip_hdr 382 net/dccp/ipv4.c ip_hdr(skb)->saddr, ip_hdr 418 net/dccp/ipv4.c newinet->mc_ttl = ip_hdr(skb)->ttl; ip_hdr 456 net/dccp/ipv4.c const struct iphdr *iph = ip_hdr(skb); ip_hdr 532 net/dccp/ipv4.c rxiph = ip_hdr(rxskb); ip_hdr 616 net/dccp/ipv4.c sk_rcv_saddr_set(req_to_sk(req), ip_hdr(skb)->daddr); ip_hdr 617 net/dccp/ipv4.c sk_daddr_set(req_to_sk(req), ip_hdr(skb)->saddr); ip_hdr 783 net/dccp/ipv4.c iph = ip_hdr(skb); ip_hdr 437 net/dccp/ipv6.c newnp->mcast_hops = ip_hdr(skb)->ttl; ip_hdr 1315 net/ipv4/af_inet.c iph = ip_hdr(skb); ip_hdr 1342 net/ipv4/af_inet.c if (fixedid && !(ip_hdr(skb)->frag_off & htons(IP_DF))) ip_hdr 127 net/ipv4/ah4.c struct iphdr *top_iph = ip_hdr(skb); ip_hdr 192 net/ipv4/ah4.c top_iph = ip_hdr(skb); ip_hdr 360 net/ipv4/ah4.c iph = ip_hdr(skb); ip_hdr 350 net/ipv4/arp.c ip_hdr(skb)->saddr) == RTN_LOCAL) ip_hdr 351 net/ipv4/arp.c saddr = ip_hdr(skb)->saddr; ip_hdr 356 net/ipv4/arp.c saddr = ip_hdr(skb)->saddr; ip_hdr 1509 net/ipv4/cipso_ipv4.c const struct iphdr *iph = ip_hdr(skb); ip_hdr 1510 net/ipv4/cipso_ipv4.c unsigned char *optptr = (unsigned char *)&(ip_hdr(skb)[1]); ip_hdr 1731 net/ipv4/cipso_ipv4.c if (ip_hdr(skb)->protocol == IPPROTO_ICMP || error != -EACCES) ip_hdr 1740 net/ipv4/cipso_ipv4.c opt->optlen = ip_hdr(skb)->ihl*4 - sizeof(struct iphdr); ip_hdr 2203 net/ipv4/cipso_ipv4.c iph = ip_hdr(skb); ip_hdr 2207 net/ipv4/cipso_ipv4.c iph = ip_hdr(skb); ip_hdr 2209 net/ipv4/cipso_ipv4.c iph = ip_hdr(skb); ip_hdr 2212 net/ipv4/cipso_ipv4.c iph = ip_hdr(skb); ip_hdr 2265 net/ipv4/cipso_ipv4.c iph = ip_hdr(skb); ip_hdr 598 net/ipv4/esp4.c iph = ip_hdr(skb); ip_hdr 55 net/ipv4/esp4_offload.c (xfrm_address_t *)&ip_hdr(skb)->daddr, ip_hdr 95 net/ipv4/esp4_offload.c struct iphdr *iph = ip_hdr(skb); ip_hdr 272 net/ipv4/esp4_offload.c ip_hdr(skb)->tot_len = htons(skb->len); ip_hdr 273 net/ipv4/esp4_offload.c ip_send_check(ip_hdr(skb)); ip_hdr 292 net/ipv4/fib_frontend.c return ip_hdr(skb)->daddr; ip_hdr 299 net/ipv4/fib_frontend.c if (!ipv4_is_zeronet(ip_hdr(skb)->saddr)) { ip_hdr 304 net/ipv4/fib_frontend.c .daddr = ip_hdr(skb)->saddr, ip_hdr 305 net/ipv4/fib_frontend.c .flowi4_tos = RT_TOS(ip_hdr(skb)->tos), ip_hdr 315 net/ipv4/fib_frontend.c return inet_select_addr(dev, ip_hdr(skb)->saddr, scope); ip_hdr 60 net/ipv4/fou.c ip_hdr(skb)->tot_len = htons(ntohs(ip_hdr(skb)->tot_len) - len); ip_hdr 181 net/ipv4/fou.c ip_hdr(skb)->tot_len = htons(ntohs(ip_hdr(skb)->tot_len) - len); ip_hdr 429 net/ipv4/icmp.c inet->tos = ip_hdr(skb)->tos; ip_hdr 431 net/ipv4/icmp.c daddr = ipc.addr = ip_hdr(skb)->saddr; ip_hdr 444 net/ipv4/icmp.c fl4.flowi4_tos = RT_TOS(ip_hdr(skb)->tos); ip_hdr 599 net/ipv4/icmp.c iph = ip_hdr(skb_in); ip_hdr 880 net/ipv4/icmp.c &ip_hdr(skb)->saddr, ip_hdr 386 net/ipv4/igmp.c pip = ip_hdr(skb); ip_hdr 769 net/ipv4/igmp.c iph = ip_hdr(skb); ip_hdr 1491 net/ipv4/igmp.c iph = ip_hdr(skb); ip_hdr 1501 net/ipv4/igmp.c iph = ip_hdr(skb); ip_hdr 1544 net/ipv4/igmp.c ip_hdr(skb)->daddr != htonl(INADDR_ALLHOSTS_GROUP)) ip_hdr 1613 net/ipv4/igmp.c if (ip_hdr(skb)->protocol != IPPROTO_IGMP) ip_hdr 48 net/ipv4/ip_forward.c if (unlikely((ip_hdr(skb)->frag_off & htons(IP_DF)) == 0)) ip_hdr 118 net/ipv4/ip_forward.c if (ip_hdr(skb)->ttl <= 1) ip_hdr 141 net/ipv4/ip_forward.c iph = ip_hdr(skb); ip_hdr 175 net/ipv4/ip_fragment.c iph = ip_hdr(head); ip_hdr 292 net/ipv4/ip_fragment.c ecn = ip4_frag_ecn(ip_hdr(skb)->tos); ip_hdr 293 net/ipv4/ip_fragment.c offset = ntohs(ip_hdr(skb)->frag_off); ip_hdr 362 net/ipv4/ip_fragment.c if (ip_hdr(skb)->frag_off & htons(IP_DF) && ip_hdr 435 net/ipv4/ip_fragment.c iph = ip_hdr(skb); ip_hdr 484 net/ipv4/ip_fragment.c qp = ip_find(net, ip_hdr(skb), user, vif); ip_hdr 266 net/ipv4/ip_gre.c iph = ip_hdr(skb); ip_hdr 338 net/ipv4/ip_gre.c iph = ip_hdr(skb); ip_hdr 402 net/ipv4/ip_gre.c if (ipv4_is_multicast(ip_hdr(skb)->daddr)) { ip_hdr 533 net/ipv4/ip_gre.c (ntohs(ip_hdr(skb)->tot_len) > skb->len - nhoff)) ip_hdr 151 net/ipv4/ip_input.c u8 protocol = ip_hdr(skb)->protocol; ip_hdr 165 net/ipv4/ip_input.c if (ip_is_fragment(ip_hdr(skb))) { ip_hdr 231 net/ipv4/ip_input.c ip_protocol_deliver_rcu(net, skb, ip_hdr(skb)->protocol); ip_hdr 247 net/ipv4/ip_input.c if (ip_is_fragment(ip_hdr(skb))) { ip_hdr 274 net/ipv4/ip_input.c iph = ip_hdr(skb); ip_hdr 310 net/ipv4/ip_input.c const struct iphdr *iph = ip_hdr(skb); ip_hdr 329 net/ipv4/ip_input.c iph = ip_hdr(skb); ip_hdr 442 net/ipv4/ip_input.c iph = ip_hdr(skb); ip_hdr 468 net/ipv4/ip_input.c iph = ip_hdr(skb); ip_hdr 489 net/ipv4/ip_input.c iph = ip_hdr(skb); ip_hdr 173 net/ipv4/ip_options.c if (memcmp(&ip_hdr(skb)->saddr, ip_hdr 267 net/ipv4/ip_options.c optptr = (unsigned char *)&(ip_hdr(skb)[1]); ip_hdr 597 net/ipv4/ip_options.c ip_hdr(skb)->daddr = opt->nexthop; ip_hdr 612 net/ipv4/ip_options.c ip_send_check(ip_hdr(skb)); ip_hdr 621 net/ipv4/ip_options.c struct iphdr *iph = ip_hdr(skb); ip_hdr 100 net/ipv4/ip_output.c struct iphdr *iph = ip_hdr(skb); ip_hdr 155 net/ipv4/ip_output.c iph = ip_hdr(skb); ip_hdr 403 net/ipv4/ip_output.c if (ip_hdr(skb)->ttl == 0) { ip_hdr 508 net/ipv4/ip_output.c iph = ip_hdr(skb); ip_hdr 572 net/ipv4/ip_output.c struct iphdr *iph = ip_hdr(skb); ip_hdr 634 net/ipv4/ip_output.c iter->iph = ip_hdr(frag); ip_hdr 651 net/ipv4/ip_output.c struct iphdr *iph = ip_hdr(skb); ip_hdr 737 net/ipv4/ip_output.c iph = ip_hdr(skb2); ip_hdr 787 net/ipv4/ip_output.c iph = ip_hdr(skb); ip_hdr 1524 net/ipv4/ip_output.c iph = ip_hdr(skb); ip_hdr 1692 net/ipv4/ip_output.c RT_SCOPE_UNIVERSE, ip_hdr(skb)->protocol, ip_hdr 1704 net/ipv4/ip_output.c sk->sk_protocol = ip_hdr(skb)->protocol; ip_hdr 60 net/ipv4/ip_sockglue.c info.ipi_addr.s_addr = ip_hdr(skb)->daddr; ip_hdr 67 net/ipv4/ip_sockglue.c int ttl = ip_hdr(skb)->ttl; ip_hdr 73 net/ipv4/ip_sockglue.c put_cmsg(msg, SOL_IP, IP_TOS, 1, &ip_hdr(skb)->tos); ip_hdr 82 net/ipv4/ip_sockglue.c ip_hdr(skb) + 1); ip_hdr 164 net/ipv4/ip_sockglue.c sin.sin_addr.s_addr = ip_hdr(skb)->daddr; ip_hdr 437 net/ipv4/ip_sockglue.c iph = ip_hdr(skb); ip_hdr 493 net/ipv4/ip_sockglue.c info->ipi_spec_dst.s_addr = ip_hdr(skb)->saddr; ip_hdr 546 net/ipv4/ip_sockglue.c sin->sin_addr.s_addr = ip_hdr(skb)->saddr; ip_hdr 362 net/ipv4/ip_tunnel.c const struct iphdr *iph = ip_hdr(skb); ip_hdr 66 net/ipv4/ip_tunnel_core.c iph = ip_hdr(skb); ip_hdr 51 net/ipv4/ip_vti.c const struct iphdr *iph = ip_hdr(skb); ip_hdr 86 net/ipv4/ip_vti.c return vti_input(skb, ip_hdr(skb)->protocol, spi, 0, update_skb_dev); ip_hdr 97 net/ipv4/ip_vti.c const struct iphdr *iph = ip_hdr(skb); ip_hdr 815 net/ipv4/ipconfig.c h = ip_hdr(skb); ip_hdr 220 net/ipv4/ipip.c iph = ip_hdr(skb); ip_hdr 750 net/ipv4/ipmr.c if (ip_hdr(skb)->version == 0) { ip_hdr 1011 net/ipv4/ipmr.c if (ip_hdr(skb)->version == 0) { ip_hdr 1074 net/ipv4/ipmr.c ip_hdr(skb)->ihl = sizeof(struct iphdr) >> 2; ip_hdr 1075 net/ipv4/ipmr.c ip_hdr(skb)->tot_len = htons(ntohs(ip_hdr(pkt)->tot_len) + ip_hdr 1083 net/ipv4/ipmr.c ip_hdr(skb)->protocol = 0; ip_hdr 1092 net/ipv4/ipmr.c ip_hdr(skb)->tot_len = htons(skb->len); /* Fix the length */ ip_hdr 1121 net/ipv4/ipmr.c const struct iphdr *iph = ip_hdr(skb); ip_hdr 1777 net/ipv4/ipmr.c const struct iphdr *old_iph = ip_hdr(skb); ip_hdr 1782 net/ipv4/ipmr.c iph = ip_hdr(skb); ip_hdr 1841 net/ipv4/ipmr.c const struct iphdr *iph = ip_hdr(skb); ip_hdr 1905 net/ipv4/ipmr.c ip_decrease_ttl(ip_hdr(skb)); ip_hdr 2023 net/ipv4/ipmr.c ip_hdr(skb)->ttl > ip_hdr 2039 net/ipv4/ipmr.c ip_hdr(skb)->ttl > c->_c.mfc_un.res.ttls[ct]) { ip_hdr 2072 net/ipv4/ipmr.c struct iphdr *iph = ip_hdr(skb); ip_hdr 2132 net/ipv4/ipmr.c } else if (ip_hdr(skb)->protocol == IPPROTO_IGMP) { ip_hdr 2151 net/ipv4/ipmr.c cache = ipmr_cache_find(mrt, ip_hdr(skb)->saddr, ip_hdr(skb)->daddr); ip_hdr 2156 net/ipv4/ipmr.c cache = ipmr_cache_find_any(mrt, ip_hdr(skb)->daddr, ip_hdr 2303 net/ipv4/ipmr.c iph = ip_hdr(skb2); ip_hdr 22 net/ipv4/netfilter.c const struct iphdr *iph = ip_hdr(skb); ip_hdr 244 net/ipv4/netfilter/ip_tables.c ip = ip_hdr(skb); ip_hdr 349 net/ipv4/netfilter/ip_tables.c ip = ip_hdr(skb); ip_hdr 340 net/ipv4/netfilter/ipt_CLUSTERIP.c const struct iphdr *iph = ip_hdr(skb); ip_hdr 414 net/ipv4/netfilter/ipt_CLUSTERIP.c if (ip_hdr(skb)->protocol == IPPROTO_ICMP && ip_hdr 28 net/ipv4/netfilter/ipt_ECN.c struct iphdr *iph = ip_hdr(skb); ip_hdr 34 net/ipv4/netfilter/ipt_ECN.c iph = ip_hdr(skb); ip_hdr 63 net/ipv4/netfilter/ipt_ECN.c tcph = (void *)ip_hdr(skb) + ip_hdrlen(skb); ip_hdr 86 net/ipv4/netfilter/ipt_ECN.c ip_hdr(skb)->protocol == IPPROTO_TCP) ip_hdr 67 net/ipv4/netfilter/ipt_rpfilter.c iph = ip_hdr(skb); ip_hdr 51 net/ipv4/netfilter/iptable_mangle.c iph = ip_hdr(skb); ip_hdr 59 net/ipv4/netfilter/iptable_mangle.c iph = ip_hdr(skb); ip_hdr 82 net/ipv4/netfilter/nf_defrag_ipv4.c if (ip_is_fragment(ip_hdr(skb))) { ip_hdr 26 net/ipv4/netfilter/nf_dup_ipv4.c const struct iphdr *iph = ip_hdr(skb); ip_hdr 80 net/ipv4/netfilter/nf_dup_ipv4.c iph = ip_hdr(skb); ip_hdr 40 net/ipv4/netfilter/nf_nat_h323.c if (ip_hdr(skb)->protocol == IPPROTO_TCP) { ip_hdr 128 net/ipv4/netfilter/nf_nat_snmp_basic_main.c struct iphdr *iph = ip_hdr(skb); ip_hdr 166 net/ipv4/netfilter/nf_nat_snmp_basic_main.c const struct iphdr *iph = ip_hdr(skb); ip_hdr 21 net/ipv4/netfilter/nf_reject_ipv4.c if (ip_hdr(oldskb)->frag_off & htons(IP_OFFSET)) ip_hdr 24 net/ipv4/netfilter/nf_reject_ipv4.c if (ip_hdr(oldskb)->protocol != IPPROTO_TCP) ip_hdr 48 net/ipv4/netfilter/nf_reject_ipv4.c struct iphdr *niph, *oiph = ip_hdr(oldskb); ip_hdr 72 net/ipv4/netfilter/nf_reject_ipv4.c struct iphdr *niph = ip_hdr(nskb); ip_hdr 133 net/ipv4/netfilter/nf_reject_ipv4.c niph = ip_hdr(nskb); ip_hdr 172 net/ipv4/netfilter/nf_reject_ipv4.c struct iphdr *iph = ip_hdr(skb_in); ip_hdr 97 net/ipv4/netfilter/nf_socket_ipv4.c const struct iphdr *iph = ip_hdr(skb); ip_hdr 22 net/ipv4/netfilter/nf_tproxy_ipv4.c const struct iphdr *iph = ip_hdr(skb); ip_hdr 179 net/ipv4/ping.c (int)ident, &ip_hdr(skb)->daddr, dif); ip_hdr 203 net/ipv4/ping.c isk->inet_rcv_saddr != ip_hdr(skb)->daddr) ip_hdr 891 net/ipv4/ping.c sin->sin_addr.s_addr = ip_hdr(skb)->saddr; ip_hdr 218 net/ipv4/raw.c if (raw_sk && !raw_v4_input(skb, ip_hdr(skb), hash)) ip_hdr 384 net/ipv4/raw.c iph = ip_hdr(skb); ip_hdr 786 net/ipv4/raw.c sin->sin_addr.s_addr = ip_hdr(skb)->saddr; ip_hdr 448 net/ipv4/route.c pkey = skb ? ip_hdr(skb)->daddr : *((__be32 *) daddr); ip_hdr 549 net/ipv4/route.c const struct iphdr *iph = ip_hdr(skb); ip_hdr 739 net/ipv4/route.c __be32 old_gw = ip_hdr(skb)->saddr; ip_hdr 889 net/ipv4/route.c peer = inet_getpeer_v4(net->ipv4.peers, ip_hdr(skb)->saddr, vif, 1); ip_hdr 892 net/ipv4/route.c rt_nexthop(rt, ip_hdr(skb)->daddr)); ip_hdr 919 net/ipv4/route.c __be32 gw = rt_nexthop(rt, ip_hdr(skb)->daddr); ip_hdr 928 net/ipv4/route.c &ip_hdr(skb)->saddr, inet_iif(skb), ip_hdr 929 net/ipv4/route.c &ip_hdr(skb)->daddr, &gw); ip_hdr 989 net/ipv4/route.c peer = inet_getpeer_v4(net->ipv4.peers, ip_hdr(skb)->saddr, ip_hdr 1204 net/ipv4/route.c ip_hdr(skb)->version != 4 || ip_hdr(skb)->ihl < 5) ip_hdr 1208 net/ipv4/route.c if (ip_hdr(skb)->ihl > 5) { ip_hdr 1209 net/ipv4/route.c if (!pskb_network_may_pull(skb, ip_hdr(skb)->ihl * 4)) ip_hdr 1211 net/ipv4/route.c opt.optlen = ip_hdr(skb)->ihl * 4 - sizeof(struct iphdr); ip_hdr 1237 net/ipv4/route.c __func__, &ip_hdr(skb)->saddr, &ip_hdr(skb)->daddr, ip_hdr 1258 net/ipv4/route.c src = ip_hdr(skb)->saddr; ip_hdr 1261 net/ipv4/route.c struct iphdr *iph = ip_hdr(skb); ip_hdr 1705 net/ipv4/route.c ip_hdr(skb)->protocol != IPPROTO_IGMP) ip_hdr 1879 net/ipv4/route.c const struct iphdr *outer_iph = ip_hdr(skb); ip_hdr 2283 net/ipv4/route.c ip_hdr(skb)->protocol); ip_hdr 2292 net/ipv4/route.c ip_hdr(skb)->protocol); ip_hdr 180 net/ipv4/syncookies.c const struct iphdr *iph = ip_hdr(skb); ip_hdr 306 net/ipv4/syncookies.c mss = __cookie_v4_check(ip_hdr(skb), th, cookie); ip_hdr 320 net/ipv4/syncookies.c ip_hdr(skb)->daddr, ip_hdr 321 net/ipv4/syncookies.c ip_hdr(skb)->saddr); ip_hdr 342 net/ipv4/syncookies.c sk_rcv_saddr_set(req_to_sk(req), ip_hdr(skb)->daddr); ip_hdr 343 net/ipv4/syncookies.c sk_daddr_set(req_to_sk(req), ip_hdr(skb)->saddr); ip_hdr 119 net/ipv4/tcp_fastopen.c const struct iphdr *iph = ip_hdr(syn); ip_hdr 95 net/ipv4/tcp_ipv4.c return secure_tcp_seq(ip_hdr(skb)->daddr, ip_hdr 96 net/ipv4/tcp_ipv4.c ip_hdr(skb)->saddr, ip_hdr 103 net/ipv4/tcp_ipv4.c return secure_tcp_ts_off(net, ip_hdr(skb)->daddr, ip_hdr(skb)->saddr); ip_hdr 707 net/ipv4/tcp_ipv4.c &ip_hdr(skb)->saddr, AF_INET); ip_hdr 717 net/ipv4/tcp_ipv4.c ip_hdr(skb)->saddr, ip_hdr 718 net/ipv4/tcp_ipv4.c th->source, ip_hdr(skb)->daddr, ip_hdr 726 net/ipv4/tcp_ipv4.c &ip_hdr(skb)->saddr, AF_INET); ip_hdr 747 net/ipv4/tcp_ipv4.c key, ip_hdr(skb)->saddr, ip_hdr 748 net/ipv4/tcp_ipv4.c ip_hdr(skb)->daddr, &rep.th); ip_hdr 751 net/ipv4/tcp_ipv4.c arg.csum = csum_tcpudp_nofold(ip_hdr(skb)->daddr, ip_hdr 752 net/ipv4/tcp_ipv4.c ip_hdr(skb)->saddr, /* XXX */ ip_hdr 770 net/ipv4/tcp_ipv4.c arg.tos = ip_hdr(skb)->tos; ip_hdr 783 net/ipv4/tcp_ipv4.c ip_hdr(skb)->saddr, ip_hdr(skb)->daddr, ip_hdr 857 net/ipv4/tcp_ipv4.c key, ip_hdr(skb)->saddr, ip_hdr 858 net/ipv4/tcp_ipv4.c ip_hdr(skb)->daddr, &rep.th); ip_hdr 862 net/ipv4/tcp_ipv4.c arg.csum = csum_tcpudp_nofold(ip_hdr(skb)->daddr, ip_hdr 863 net/ipv4/tcp_ipv4.c ip_hdr(skb)->saddr, /* XXX */ ip_hdr 879 net/ipv4/tcp_ipv4.c ip_hdr(skb)->saddr, ip_hdr(skb)->daddr, ip_hdr 927 net/ipv4/tcp_ipv4.c tcp_md5_do_lookup(sk, (union tcp_md5_addr *)&ip_hdr(skb)->saddr, ip_hdr 930 net/ipv4/tcp_ipv4.c ip_hdr(skb)->tos); ip_hdr 1253 net/ipv4/tcp_ipv4.c const struct iphdr *iph = ip_hdr(skb); ip_hdr 1304 net/ipv4/tcp_ipv4.c const struct iphdr *iph = ip_hdr(skb); ip_hdr 1355 net/ipv4/tcp_ipv4.c sk_rcv_saddr_set(req_to_sk(req), ip_hdr(skb)->daddr); ip_hdr 1356 net/ipv4/tcp_ipv4.c sk_daddr_set(req_to_sk(req), ip_hdr(skb)->saddr); ip_hdr 1448 net/ipv4/tcp_ipv4.c newinet->mc_ttl = ip_hdr(skb)->ttl; ip_hdr 1449 net/ipv4/tcp_ipv4.c newinet->rcv_tos = ip_hdr(skb)->tos; ip_hdr 1622 net/ipv4/tcp_ipv4.c iph = ip_hdr(skb); ip_hdr 1844 net/ipv4/tcp_ipv4.c iph = ip_hdr(skb); ip_hdr 1882 net/ipv4/tcp_ipv4.c iph = ip_hdr(skb); ip_hdr 1927 net/ipv4/tcp_ipv4.c iph = ip_hdr(skb); ip_hdr 39 net/ipv4/tcp_offload.c const struct iphdr *iph = ip_hdr(skb); ip_hdr 321 net/ipv4/tcp_offload.c const struct iphdr *iph = ip_hdr(skb); ip_hdr 480 net/ipv4/udp.c const struct iphdr *iph = ip_hdr(skb); ip_hdr 490 net/ipv4/udp.c const struct iphdr *iph = ip_hdr(skb); ip_hdr 1798 net/ipv4/udp.c sin->sin_addr.s_addr = ip_hdr(skb)->saddr; ip_hdr 2298 net/ipv4/udp.c saddr = ip_hdr(skb)->saddr; ip_hdr 2299 net/ipv4/udp.c daddr = ip_hdr(skb)->daddr; ip_hdr 2450 net/ipv4/udp.c iph = ip_hdr(skb); ip_hdr 323 net/ipv4/udp_offload.c iph = ip_hdr(skb); ip_hdr 544 net/ipv4/udp_offload.c const struct iphdr *iph = ip_hdr(skb); ip_hdr 36 net/ipv4/xfrm4_input.c const struct iphdr *iph = ip_hdr(skb); ip_hdr 55 net/ipv4/xfrm4_input.c struct iphdr *iph = ip_hdr(skb); ip_hdr 150 net/ipv4/xfrm4_input.c iph = ip_hdr(skb); ip_hdr 175 net/ipv4/xfrm4_input.c return xfrm4_rcv_spi(skb, ip_hdr(skb)->protocol, 0); ip_hdr 24 net/ipv4/xfrm4_output.c if (!(ip_hdr(skb)->frag_off & htons(IP_DF)) || skb->ignore_df) ip_hdr 52 net/ipv4/xfrm4_output.c XFRM_MODE_SKB_CB(skb)->protocol = ip_hdr(skb)->protocol; ip_hdr 102 net/ipv4/xfrm4_output.c hdr = skb->encapsulation ? inner_ip_hdr(skb) : ip_hdr(skb); ip_hdr 20 net/ipv4/xfrm4_state.c const struct iphdr *iph = ip_hdr(skb); ip_hdr 24 net/ipv4/xfrm4_tunnel.c return ip_hdr(skb)->protocol; ip_hdr 56 net/ipv4/xfrm4_tunnel.c return xfrm4_rcv_spi(skb, IPPROTO_IPIP, ip_hdr(skb)->saddr); ip_hdr 502 net/ipv6/datagram.c ipv6_addr_set_v4mapped(ip_hdr(skb)->saddr, ip_hdr 588 net/ipv6/datagram.c ipv6_addr_set_v4mapped(ip_hdr(skb)->daddr, ip_hdr 642 net/ipv6/icmp.c ipv6_addr_set_v4mapped(ip_hdr(skb)->saddr, &temp_saddr); ip_hdr 637 net/ipv6/ip6_gre.c const struct iphdr *iph = ip_hdr(skb); ip_hdr 944 net/ipv6/ip6_gre.c (ntohs(ip_hdr(skb)->tot_len) > skb->len - nhoff)) ip_hdr 609 net/ipv6/ip6_tunnel.c eiph = ip_hdr(skb2); ip_hdr 702 net/ipv6/ip6_tunnel.c ipv4_change_dsfield(ip_hdr(skb), INET_ECN_MASK, dsfield); ip_hdr 1185 net/ipv6/ip6_tunnel.c hop_limit = ip_hdr(skb)->ttl; ip_hdr 1241 net/ipv6/ip6_tunnel.c iph = ip_hdr(skb); ip_hdr 371 net/ipv6/seg6_local.c iph = ip_hdr(skb); ip_hdr 639 net/ipv6/sit.c const struct iphdr *iph = ip_hdr(skb); ip_hdr 722 net/ipv6/sit.c iph = ip_hdr(skb); ip_hdr 1165 net/ipv6/tcp_ipv6.c newnp->mcast_hops = ip_hdr(skb)->ttl; ip_hdr 347 net/ipv6/udp.c ipv6_addr_set_v4mapped(ip_hdr(skb)->saddr, ip_hdr 558 net/l2tp/l2tp_ip.c sin->sin_addr.s_addr = ip_hdr(skb)->saddr; ip_hdr 290 net/mpls/af_mpls.c payload_type = ip_hdr(skb)->version; ip_hdr 294 net/mpls/af_mpls.c struct iphdr *hdr4 = ip_hdr(skb); ip_hdr 85 net/mpls/mpls_iptunnel.c ttl = ip_hdr(skb)->ttl; ip_hdr 101 net/netfilter/ipset/ip_set_getport.c const struct iphdr *iph = ip_hdr(skb); ip_hdr 733 net/netfilter/ipvs/ip_vs_core.c ip_send_check(ip_hdr(skb)); ip_hdr 769 net/netfilter/ipvs/ip_vs_core.c struct iphdr *iph = ip_hdr(skb); ip_hdr 948 net/netfilter/ipvs/ip_vs_core.c if (ip_is_fragment(ip_hdr(skb))) { ip_hdr 953 net/netfilter/ipvs/ip_vs_core.c iph = ip_hdr(skb); ip_hdr 1301 net/netfilter/ipvs/ip_vs_core.c ip_hdr(skb)->saddr = cp->vaddr.ip; ip_hdr 1302 net/netfilter/ipvs/ip_vs_core.c ip_send_check(ip_hdr(skb)); ip_hdr 1407 net/netfilter/ipvs/ip_vs_core.c if (unlikely(ip_is_fragment(ip_hdr(skb)) && !pp->dont_defrag)) { ip_hdr 1670 net/netfilter/ipvs/ip_vs_core.c if (ip_is_fragment(ip_hdr(skb))) { ip_hdr 1675 net/netfilter/ipvs/ip_vs_core.c iph = ip_hdr(skb); ip_hdr 1818 net/netfilter/ipvs/ip_vs_core.c &ip_hdr(skb)->saddr, &ip_hdr(skb)->daddr, mtu); ip_hdr 1842 net/netfilter/ipvs/ip_vs_core.c &ip_hdr(skb)->saddr, &ip_hdr(skb)->daddr, ip_hdr 2222 net/netfilter/ipvs/ip_vs_core.c if (ip_hdr(skb)->protocol != IPPROTO_ICMP) ip_hdr 333 net/netfilter/ipvs/ip_vs_proto_tcp.c if (csum_tcpudp_magic(ip_hdr(skb)->saddr, ip_hdr 334 net/netfilter/ipvs/ip_vs_proto_tcp.c ip_hdr(skb)->daddr, ip_hdr 336 net/netfilter/ipvs/ip_vs_proto_tcp.c ip_hdr(skb)->protocol, ip_hdr 336 net/netfilter/ipvs/ip_vs_proto_udp.c if (csum_tcpudp_magic(ip_hdr(skb)->saddr, ip_hdr 337 net/netfilter/ipvs/ip_vs_proto_udp.c ip_hdr(skb)->daddr, ip_hdr 339 net/netfilter/ipvs/ip_vs_proto_udp.c ip_hdr(skb)->protocol, ip_hdr 187 net/netfilter/ipvs/ip_vs_xmit.c source_is_loopback = ipv4_is_loopback(ip_hdr(skb)->saddr); ip_hdr 242 net/netfilter/ipvs/ip_vs_xmit.c if (unlikely(ip_hdr(skb)->frag_off & htons(IP_DF) && ip_hdr 248 net/netfilter/ipvs/ip_vs_xmit.c &ip_hdr(skb)->saddr); ip_hdr 287 net/netfilter/ipvs/ip_vs_xmit.c if (ip_hdr(skb)->ttl <= 1) { ip_hdr 299 net/netfilter/ipvs/ip_vs_xmit.c ip_decrease_ttl(ip_hdr(skb)); ip_hdr 707 net/netfilter/ipvs/ip_vs_xmit.c struct iphdr *iph = ip_hdr(skb); ip_hdr 828 net/netfilter/ipvs/ip_vs_xmit.c ip_hdr(skb)->daddr = cp->daddr.ip; ip_hdr 829 net/netfilter/ipvs/ip_vs_xmit.c ip_send_check(ip_hdr(skb)); ip_hdr 986 net/netfilter/ipvs/ip_vs_xmit.c old_iph = ip_hdr(skb); ip_hdr 1250 net/netfilter/ipvs/ip_vs_xmit.c iph = ip_hdr(skb); ip_hdr 1451 net/netfilter/ipvs/ip_vs_xmit.c ip_send_check(ip_hdr(skb)); ip_hdr 24 net/netfilter/nf_conntrack_broadcast.c struct iphdr *iph = ip_hdr(skb); ip_hdr 161 net/netfilter/nf_conntrack_irc.c iph = ip_hdr(skb); ip_hdr 185 net/netfilter/nf_conntrack_proto.c if (ip_is_fragment(ip_hdr(skb))) { /* IP_NODEFRAG setsockopt set */ ip_hdr 246 net/netfilter/nf_conntrack_proto_icmp.c outer_daddr.ip = ip_hdr(skb)->daddr; ip_hdr 145 net/netfilter/nf_flow_table_ip.c struct iphdr *iph = ip_hdr(skb); ip_hdr 174 net/netfilter/nf_flow_table_ip.c iph = ip_hdr(skb); ip_hdr 192 net/netfilter/nf_flow_table_ip.c iph = ip_hdr(skb); ip_hdr 272 net/netfilter/nf_flow_table_ip.c thoff = ip_hdr(skb)->ihl * 4; ip_hdr 273 net/netfilter/nf_flow_table_ip.c if (nf_flow_state_check(flow, ip_hdr(skb)->protocol, skb, thoff)) ip_hdr 285 net/netfilter/nf_flow_table_ip.c iph = ip_hdr(skb); ip_hdr 59 net/netfilter/nf_nat_helper.c ip_hdr(skb)->tot_len = htons(skb->len); ip_hdr 60 net/netfilter/nf_nat_helper.c ip_send_check(ip_hdr(skb)); ip_hdr 41 net/netfilter/nf_nat_masquerade.c nh = rt_nexthop(rt, ip_hdr(skb)->daddr); ip_hdr 504 net/netfilter/nf_nat_proto.c const struct iphdr *iph = ip_hdr(skb); ip_hdr 636 net/netfilter/nf_nat_proto.c if (ip_hdr(skb)->protocol == IPPROTO_ICMP) { ip_hdr 653 net/netfilter/nf_nat_proto.c __be32 daddr = ip_hdr(skb)->daddr; ip_hdr 656 net/netfilter/nf_nat_proto.c if (ret == NF_ACCEPT && daddr != ip_hdr(skb)->daddr) ip_hdr 135 net/netfilter/nf_queue.c const struct iphdr *iph = ip_hdr(skb); ip_hdr 475 net/netfilter/nf_synproxy_core.c iph = ip_hdr(skb); ip_hdr 518 net/netfilter/nf_synproxy_core.c iph = ip_hdr(skb); ip_hdr 563 net/netfilter/nf_synproxy_core.c iph = ip_hdr(skb); ip_hdr 601 net/netfilter/nf_synproxy_core.c iph = ip_hdr(skb); ip_hdr 638 net/netfilter/nf_synproxy_core.c mss = __cookie_v4_check(ip_hdr(skb), th, ntohl(th->ack_seq) - 1); ip_hdr 679 net/netfilter/nf_synproxy_core.c ip_hdr(skb)->protocol != IPPROTO_TCP) ip_hdr 35 net/netfilter/nfnetlink_osf.c const struct iphdr *ip = ip_hdr(skb); ip_hdr 200 net/netfilter/nfnetlink_osf.c const struct iphdr *ip = ip_hdr(skb); ip_hdr 263 net/netfilter/nfnetlink_osf.c const struct iphdr *ip = ip_hdr(skb); ip_hdr 32 net/netfilter/nft_chain_route.c iph = ip_hdr(skb); ip_hdr 39 net/netfilter/nft_chain_route.c iph = ip_hdr(skb); ip_hdr 110 net/netfilter/nft_fwd_netdev.c iph = ip_hdr(skb); ip_hdr 168 net/netfilter/nft_meta.c if (ipv4_is_multicast(ip_hdr(skb)->daddr)) ip_hdr 32 net/netfilter/nft_rt.c fl.u.ip4.daddr = ip_hdr(skb)->saddr; ip_hdr 77 net/netfilter/nft_rt.c ip_hdr(skb)->daddr); ip_hdr 27 net/netfilter/nft_tproxy.c const struct iphdr *iph = ip_hdr(skb); ip_hdr 13 net/netfilter/utils.c const struct iphdr *iph = ip_hdr(skb); ip_hdr 47 net/netfilter/utils.c const struct iphdr *iph = ip_hdr(skb); ip_hdr 188 net/netfilter/utils.c const struct iphdr *iph = ip_hdr(skb); ip_hdr 31 net/netfilter/xt_DSCP.c u_int8_t dscp = ipv4_get_dsfield(ip_hdr(skb)) >> XT_DSCP_SHIFT; ip_hdr 37 net/netfilter/xt_DSCP.c ipv4_change_dsfield(ip_hdr(skb), ip_hdr 75 net/netfilter/xt_DSCP.c struct iphdr *iph = ip_hdr(skb); ip_hdr 84 net/netfilter/xt_DSCP.c iph = ip_hdr(skb); ip_hdr 35 net/netfilter/xt_HL.c iph = ip_hdr(skb); ip_hdr 87 net/netfilter/xt_NETMAP.c new_ip = ip_hdr(skb)->daddr & ~netmask; ip_hdr 89 net/netfilter/xt_NETMAP.c new_ip = ip_hdr(skb)->saddr & ~netmask; ip_hdr 54 net/netfilter/xt_TCPMSS.c fl4->daddr = ip_hdr(skb)->saddr; ip_hdr 198 net/netfilter/xt_TCPMSS.c struct iphdr *iph = ip_hdr(skb); ip_hdr 209 net/netfilter/xt_TCPMSS.c iph = ip_hdr(skb); ip_hdr 39 net/netfilter/xt_TPROXY.c const struct iphdr *iph = ip_hdr(skb); ip_hdr 115 net/netfilter/xt_addrtype.c const struct iphdr *iph = ip_hdr(skb); ip_hdr 146 net/netfilter/xt_addrtype.c iph = ip_hdr(skb); ip_hdr 66 net/netfilter/xt_cluster.c is_multicast = ipv4_is_multicast(ip_hdr(skb)->daddr); ip_hdr 64 net/netfilter/xt_connlimit.c const struct iphdr *iph = ip_hdr(skb); ip_hdr 28 net/netfilter/xt_dscp.c u_int8_t dscp = ipv4_get_dsfield(ip_hdr(skb)) >> XT_DSCP_SHIFT; ip_hdr 57 net/netfilter/xt_dscp.c return ((ip_hdr(skb)->tos & info->tos_mask) == ip_hdr 66 net/netfilter/xt_ecn.c return ((ip_hdr(skb)->tos & XT_ECN_IP_MASK) == einfo->ip_ect) ^ ip_hdr 650 net/netfilter/xt_hashlimit.c dst->ip.dst = maskl(ip_hdr(skb)->daddr, ip_hdr 653 net/netfilter/xt_hashlimit.c dst->ip.src = maskl(ip_hdr(skb)->saddr, ip_hdr 659 net/netfilter/xt_hashlimit.c nexthdr = ip_hdr(skb)->protocol; ip_hdr 28 net/netfilter/xt_hl.c const u8 ttl = ip_hdr(skb)->ttl; ip_hdr 20 net/netfilter/xt_iprange.c const struct iphdr *iph = ip_hdr(skb); ip_hdr 172 net/netfilter/xt_l2tp.c struct iphdr *iph = ip_hdr(skb); ip_hdr 24 net/netfilter/xt_length.c u_int16_t pktlen = ntohs(ip_hdr(skb)->tot_len); ip_hdr 31 net/netfilter/xt_pkttype.c ipv4_is_multicast(ip_hdr(skb)->daddr)) ip_hdr 245 net/netfilter/xt_recent.c const struct iphdr *iph = ip_hdr(skb); ip_hdr 1289 net/netlabel/netlabel_kapi.c hdr4 = ip_hdr(skb); ip_hdr 1469 net/netlabel/netlabel_unlabeled.c if (family == PF_INET6 && ip_hdr(skb)->version == 4) ip_hdr 1478 net/netlabel/netlabel_unlabeled.c hdr4 = ip_hdr(skb); ip_hdr 457 net/openvswitch/actions.c nh = ip_hdr(skb); ip_hdr 756 net/openvswitch/conntrack.c ip_hdr(skb)->protocol == IPPROTO_ICMP) { ip_hdr 823 net/openvswitch/conntrack.c key->ipv4.addr.src = ip_hdr(skb)->saddr; ip_hdr 845 net/openvswitch/conntrack.c key->ipv4.addr.dst = ip_hdr(skb)->daddr; ip_hdr 1258 net/openvswitch/conntrack.c len = ntohs(ip_hdr(skb)->tot_len); ip_hdr 552 net/openvswitch/flow.c nh = ip_hdr(skb); ip_hdr 63 net/rxrpc/peer_event.c memcpy(&srx->transport.sin.sin_addr, &ip_hdr(skb)->saddr, ip_hdr 26 net/rxrpc/utils.c srx->transport.sin.sin_addr.s_addr = ip_hdr(skb)->saddr; ip_hdr 220 net/sched/act_csum.c iph = ip_hdr(skb); ip_hdr 277 net/sched/act_csum.c iph = ip_hdr(skb); ip_hdr 397 net/sched/act_csum.c iph = ip_hdr(skb); ip_hdr 441 net/sched/act_csum.c ip_send_check(ip_hdr(skb)); ip_hdr 84 net/sched/act_ct.c len = ntohs(ip_hdr(skb)->tot_len); ip_hdr 127 net/sched/act_ct.c *frag = ip_is_fragment(ip_hdr(skb)); ip_hdr 237 net/sched/act_ct.c ip_hdr(skb)->protocol == IPPROTO_ICMP) { ip_hdr 41 net/sched/act_ctinfo.c dscp = ipv4_get_dsfield(ip_hdr(skb)) & ~INET_ECN_MASK; ip_hdr 44 net/sched/act_ctinfo.c ipv4_change_dsfield(ip_hdr(skb), ip_hdr 139 net/sched/act_nat.c iph = ip_hdr(skb); ip_hdr 154 net/sched/act_nat.c iph = ip_hdr(skb); ip_hdr 49 net/sched/act_skbedit.c skb->priority = ipv4_get_dsfield(ip_hdr(skb)) >> 2; ip_hdr 149 net/sched/cls_rsvp.h nhptr = ip_hdr(skb); ip_hdr 1530 net/sched/sch_cake.c dscp = ipv4_get_dsfield(ip_hdr(skb)) >> 2; ip_hdr 1532 net/sched/sch_cake.c ipv4_change_dsfield(ip_hdr(skb), INET_ECN_MASK, 0); ip_hdr 220 net/sched/sch_dsmark.c skb->tc_index = ipv4_get_dsfield(ip_hdr(skb)) ip_hdr 308 net/sched/sch_dsmark.c ipv4_change_dsfield(ip_hdr(skb), p->mv[index].mask, ip_hdr 134 net/sctp/input.c family = ipver2af(ip_hdr(skb)->version); ip_hdr 850 net/sctp/ipv6.c if (ip_hdr(skb)->version == 4) { ip_hdr 853 net/sctp/ipv6.c addr->v4.sin_addr.s_addr = ip_hdr(skb)->saddr; ip_hdr 225 net/sctp/protocol.c sa->sin_addr.s_addr = ip_hdr(skb)->saddr; ip_hdr 228 net/sctp/protocol.c sa->sin_addr.s_addr = ip_hdr(skb)->daddr; ip_hdr 563 net/sctp/protocol.c return INET_ECN_is_ce(ip_hdr(skb)->tos); ip_hdr 918 net/sctp/protocol.c sin->sin_addr.s_addr = ip_hdr(skb)->saddr; ip_hdr 335 net/tipc/udp_media.c if (ip_hdr(skb)->version == 4) { ip_hdr 336 net/tipc/udp_media.c struct iphdr *iphdr = ip_hdr(skb); ip_hdr 343 net/tipc/udp_media.c } else if (ip_hdr(skb)->version == 6) { ip_hdr 189 net/tls/tls_device_fallback.c iph = ip_hdr(skb); ip_hdr 765 net/wireless/util.c dscp = ipv4_get_dsfield(ip_hdr(skb)) & 0xfc; ip_hdr 25 net/xfrm/xfrm_inout.h struct iphdr *iph = ip_hdr(skb); ip_hdr 204 net/xfrm/xfrm_input.c iph = ip_hdr(skb); ip_hdr 405 net/xfrm/xfrm_input.c ip_hdr(skb)->tot_len = htons(skb->len + ihl); ip_hdr 60 net/xfrm/xfrm_output.c struct iphdr *iph = ip_hdr(skb); ip_hdr 165 net/xfrm/xfrm_output.c top_iph = ip_hdr(skb); ip_hdr 204 net/xfrm/xfrm_output.c top_iph = ip_hdr(skb); ip_hdr 3265 net/xfrm/xfrm_policy.c const struct iphdr *iph = ip_hdr(skb); ip_hdr 2619 net/xfrm/xfrm_state.c iph4 = ip_hdr(skb); ip_hdr 45 security/lsm_audit.c ih = ip_hdr(skb); ip_hdr 293 security/selinux/netlabel.c if (ip_hdr(skb)->version == 4) { ip_hdr 295 security/selinux/netlabel.c addr4.sin_addr.s_addr = ip_hdr(skb)->saddr; ip_hdr 297 security/selinux/netlabel.c } else if (IS_ENABLED(CONFIG_IPV6) && ip_hdr(skb)->version == 6) { ip_hdr 4153 security/smack/smack_lsm.c hdr = ip_hdr(skb);