Home
last modified time | relevance | path

Searched refs:ip_p (Results 1 – 21 of 21) sorted by relevance

/openbmc/qemu/net/
H A Dchecksum.c130 switch (ip->ip_p) { in net_checksum_calculate()
146 csum = net_checksum_tcpudp(ip_len, ip->ip_p, in net_checksum_calculate()
170 csum = net_checksum_tcpudp(ip_len, ip->ip_p, in net_checksum_calculate()
H A Deth.c142 uint8_t ip_p; in eth_get_protocols() local
164 ip_p = iphdr->ip_p; in eth_get_protocols()
175 ip_p = ip6hdr_info->l4proto; in eth_get_protocols()
186 switch (ip_p) { in eth_get_protocols()
335 ipph.ip_proto = iphdr->ip_p; in eth_calc_ip4_pseudo_hdr_csum()
H A Dutil.h48 uint8_t ip_p; /* protocol */ member
H A Dcolo.c120 key->ip_proto = pkt->ip->ip_p; in fill_connection_key()
H A Dfilter-rewriter.c63 pkt->ip->ip_p == IPPROTO_TCP) { in is_tcp_packet()
H A Dcolo-compare.c226 if (pkt->ip->ip_p == IPPROTO_TCP) { in colo_insert_packet()
/openbmc/linux/drivers/infiniband/sw/rxe/
H A Drxe_queue.c14 size_t buf_size, struct rxe_mmap_info **ip_p) in do_mmap_info() argument
36 *ip_p = ip; in do_mmap_info()
H A Drxe_queue.h81 size_t buf_size, struct rxe_mmap_info **ip_p);
/openbmc/linux/arch/x86/kernel/
H A Dunwind_orc.c470 unsigned long ip_p, sp, tmp, orig_ip = state->ip, prev_sp = state->sp; in unwind_next_frame() local
583 ip_p = sp - sizeof(long); in unwind_next_frame()
585 if (!deref_stack_reg(state, ip_p, &state->ip)) in unwind_next_frame()
589 (unsigned long *)ip_p); in unwind_next_frame()
/openbmc/u-boot/lib/efi_selftest/
H A Defi_selftest_snp.c121 p.ip_udp.ip_p = IPPROTO_UDP; in send_dhcp_discover()
346 buffer.p.ip_udp.ip_p != IPPROTO_UDP || in execute()
/openbmc/qemu/include/net/
H A Deth.h56 uint8_t ip_p; /* protocol */ member
205 (ldub_p(p + offsetof(struct ip_header, ip_p)))
/openbmc/qemu/hw/hyperv/
H A Dsyndbg.c83 PKT_GET_IP_HDR(p)->ip_p != IP_PROTO_UDP) { in get_udb_pkt_data()
167 PKT_GET_IP_HDR(pkt)->ip_p = IP_PROTO_UDP; in create_udp_pkt()
/openbmc/u-boot/drivers/net/
H A Dsandbox.c128 if (ip->ip_p != IPPROTO_ICMP) in sandbox_eth_ping_req_to_reply()
233 ipr->ip_p = IPPROTO_ICMP; in sandbox_eth_recv_ping_req()
/openbmc/u-boot/net/
H A Dnet.c1265 if (ip->ip_p == IPPROTO_ICMP) { in net_process_received_packet()
1268 } else if (ip->ip_p != IPPROTO_UDP) { /* Only UDP packets */ in net_process_received_packet()
1285 xsum = ip->ip_p; in net_process_received_packet()
1515 ip->ip_p = proto; in net_set_ip_header()
/openbmc/u-boot/include/
H A Dnet.h359 u8 ip_p; /* protocol */ member
383 u8 ip_p; /* protocol */ member
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_rx.c1171 void *ip_p; in mlx5e_lro_update_hdr() local
1176 ip_p = skb->data + network_depth; in mlx5e_lro_update_hdr()
1179 struct iphdr *ipv4 = ip_p; in mlx5e_lro_update_hdr()
1181 tcp = ip_p + sizeof(struct iphdr); in mlx5e_lro_update_hdr()
1199 struct ipv6hdr *ipv6 = ip_p; in mlx5e_lro_update_hdr()
1201 tcp = ip_p + sizeof(struct ipv6hdr); in mlx5e_lro_update_hdr()
1396 void *ip_p = skb->data + network_depth; in get_ip_proto() local
1398 return (proto == htons(ETH_P_IP)) ? ((struct iphdr *)ip_p)->protocol : in get_ip_proto()
1399 ((struct ipv6hdr *)ip_p)->nexthdr; in get_ip_proto()
/openbmc/u-boot/test/dm/
H A Deth.c362 if (ip->ip_p != IPPROTO_ICMP) in sb_check_ping_reply()
/openbmc/linux/tools/testing/selftests/net/
H A Dip_defrag.c238 iphdr->ip_p = IPPROTO_UDP; in send_udp_frags()
/openbmc/qemu/hw/net/
H A Drtl8139.c2116 ip_protocol = ip->ip_p; in rtl8139_cplus_transmit_one()
H A Dvirtio-net.c2474 if (ip->ip_p != IPPROTO_TCP) { in virtio_net_rsc_sanity_check4()
/openbmc/qemu/hw/net/rocker/
H A Drocker_of_dpa.c729 match->value.ip.proto = fc->fields.ipv4hdr->ip_p; in of_dpa_acl_build_match()