/openbmc/u-boot/net/ |
H A D | net.c | 923 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 D | ping.c | 98 ip->ip_off = 0; in ping_receive()
|
/openbmc/linux/drivers/net/ethernet/sfc/ |
H A D | tx_tso.c | 71 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 D | util.h | 43 uint16_t ip_off; /* fragment offset field */ member
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | ip_defrag.c | 180 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 D | eth.h | 54 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 D | sandbox.c | 148 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 D | net.h | 357 u16 ip_off; /* fragment offset field */ member 381 u16 ip_off; /* fragment offset field */ member
|
/openbmc/linux/drivers/net/ethernet/freescale/fman/ |
H A D | fman.h | 137 u8 ip_off[2]; /* IP offset */ member
|
/openbmc/u-boot/lib/efi_selftest/ |
H A D | efi_selftest_snp.c | 119 p.ip_udp.ip_off = htons(IP_FLAGS_DFRAG); in send_dhcp_discover()
|
/openbmc/qemu/hw/net/ |
H A D | net_tx_pkt.c | 714 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 D | virtio-net.c | 2480 if (!(htons(ip->ip_off) & IP_DF)) { in virtio_net_rsc_sanity_check4()
|
/openbmc/qemu/hw/hyperv/ |
H A D | syndbg.c | 165 PKT_GET_IP_HDR(pkt)->ip_off = 0; in create_udp_pkt()
|
/openbmc/linux/arch/s390/net/ |
H A D | bpf_jit_comp.c | 2074 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 D | bpf_jit_comp64.c | 794 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 D | bpf_jit_comp.c | 1847 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 D | bpf_jit_comp.c | 2404 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 D | atl1.c | 2101 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 D | s2io.c | 8168 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 D | dpaa_eth.c | 1542 parse_result->ip_off[0] = (u8)skb_network_offset(skb); in dpaa_enable_tx_csum()
|