Home
last modified time | relevance | path

Searched refs:ip_off (Results 1 – 20 of 20) sorted by relevance

/openbmc/u-boot/net/
H A Dnet.c923 u16 ip_off = ntohs(ip->ip_off); in __net_defragment() local
927 offset8 = (ip_off & IP_OFFS); in __net_defragment()
968 if (!(ip_off & IP_FLAGS_MFRAG)) { in __net_defragment()
1038 u16 ip_off = ntohs(ip->ip_off); in net_defragment() local
1039 if (!(ip_off & (IP_OFFS | IP_FLAGS_MFRAG))) in net_defragment()
1049 u16 ip_off = ntohs(ip->ip_off); in net_defragment() local
1050 if (!(ip_off & (IP_OFFS | IP_FLAGS_MFRAG))) in net_defragment()
1517 ip->ip_off = htons(IP_FLAGS_DFRAG); /* Don't fragment */ in net_set_ip_header()
H A Dping.c98 ip->ip_off = 0; in ping_receive()
/openbmc/linux/drivers/net/ethernet/sfc/
H A Dtx_tso.c71 unsigned int ip_off; member
177 st->ip_off = skb_network_header(skb) - skb->data; in tso_start()
184 st->ip_base_len = st->header_len - st->ip_off; in tso_start()
/openbmc/qemu/net/
H A Dutil.h43 uint16_t ip_off; /* fragment offset field */ member
/openbmc/linux/tools/testing/selftests/net/
H A Dip_defrag.c180 iphdr->ip_off = htons(offset / 8); in send_fragment()
183 iphdr->ip_off = htons(offset / 8 | IP4_MF); in send_fragment()
312 iphdr->ip_off = htons(offset / 8 | IP4_MF); in send_udp_frags()
/openbmc/qemu/include/net/
H A Deth.h54 uint16_t ip_off; /* fragment offset field */ member
213 ((be16_to_cpu((ip)->ip_off) & (IP_OFFMASK | IP_MF)) != 0)
/openbmc/u-boot/drivers/net/
H A Dsandbox.c148 ipr->ip_off = 0; in sandbox_eth_ping_req_to_reply()
232 ipr->ip_off = htons(IP_FLAGS_DFRAG); in sandbox_eth_recv_ping_req()
/openbmc/u-boot/include/
H A Dnet.h357 u16 ip_off; /* fragment offset field */ member
381 u16 ip_off; /* fragment offset field */ member
/openbmc/linux/drivers/net/ethernet/freescale/fman/
H A Dfman.h137 u8 ip_off[2]; /* IP offset */ member
/openbmc/u-boot/lib/efi_selftest/
H A Defi_selftest_snp.c119 p.ip_udp.ip_off = htons(IP_FLAGS_DFRAG); in send_dhcp_discover()
/openbmc/qemu/hw/net/
H A Dnet_tx_pkt.c714 orig_flags = be16_to_cpu(ip->ip_off) & ~(IP_OFFMASK | IP_MF); in net_tx_pkt_udp_fragment_fix()
716 ip->ip_off = cpu_to_be16(new_ip_off); in net_tx_pkt_udp_fragment_fix()
H A Dvirtio-net.c2480 if (!(htons(ip->ip_off) & IP_DF)) { in virtio_net_rsc_sanity_check4()
/openbmc/qemu/hw/hyperv/
H A Dsyndbg.c165 PKT_GET_IP_HDR(pkt)->ip_off = 0; in create_udp_pkt()
/openbmc/linux/arch/s390/net/
H A Dbpf_jit_comp.c2074 int ip_off; /* For bpf_get_func_ip(), has to be at member
2258 tjit->ip_off = alloc_stack(tjit, sizeof(u64)); in __arch_prepare_bpf_trampoline()
2353 tjit->ip_off); in __arch_prepare_bpf_trampoline()
/openbmc/linux/arch/riscv/net/
H A Dbpf_jit_comp64.c794 int retval_off, args_off, nregs_off, ip_off, run_ctx_off, sreg_off; in __arch_prepare_bpf_trampoline() local
870 ip_off = stack_size; in __arch_prepare_bpf_trampoline()
911 emit_sd(RV_REG_FP, -ip_off, RV_REG_T1, ctx); in __arch_prepare_bpf_trampoline()
/openbmc/linux/arch/arm64/net/
H A Dbpf_jit_comp.c1847 int ip_off; in prepare_trampoline() local
1886 ip_off = stack_size; in prepare_trampoline()
1940 emit(A64_STR64I(A64_R(10), A64_SP, ip_off), ctx); in prepare_trampoline()
/openbmc/linux/arch/x86/net/
H A Dbpf_jit_comp.c2404 int regs_off, nregs_off, ip_off, run_ctx_off, arg_stack_off, rbx_off; in arch_prepare_bpf_trampoline() local
2466 ip_off = stack_size; in arch_prepare_bpf_trampoline()
2531 emit_stx(&prog, BPF_DW, BPF_REG_FP, BPF_REG_0, -ip_off); in arch_prepare_bpf_trampoline()
/openbmc/linux/drivers/net/ethernet/atheros/atlx/
H A Datl1.c2101 u8 hdr_len, ip_off; in atl1_tso() local
2141 ip_off = (unsigned char *)iph - in atl1_tso()
2143 if (ip_off == 8) /* 802.3-SNAP frame */ in atl1_tso()
2145 else if (ip_off != 0) in atl1_tso()
/openbmc/linux/drivers/net/ethernet/neterion/
H A Ds2io.c8168 int ip_off; in check_L2_lro_capable() local
8180 ip_off = HEADER_ETHERNET_II_802_3_SIZE; in check_L2_lro_capable()
8187 ip_off += HEADER_VLAN_SIZE; in check_L2_lro_capable()
8193 *ip = (struct iphdr *)(buffer + ip_off); in check_L2_lro_capable()
/openbmc/linux/drivers/net/ethernet/freescale/dpaa/
H A Ddpaa_eth.c1542 parse_result->ip_off[0] = (u8)skb_network_offset(skb); in dpaa_enable_tx_csum()