Home
last modified time | relevance | path

Searched refs:ipv4hdr (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dipsec_rxtx.c51 struct iphdr *ipv4hdr = ip_hdr(skb); in mlx5e_ipsec_remove_trailer() local
66 ipv4hdr->tot_len = htons(ntohs(ipv4hdr->tot_len) - trailer_len); in mlx5e_ipsec_remove_trailer()
67 ip_send_check(ipv4hdr); in mlx5e_ipsec_remove_trailer()
/openbmc/qemu/hw/net/rocker/
H A Drocker_of_dpa.c148 struct ip_header *ipv4hdr; member
424 fields->ipv4hdr = (struct ip_header *)(fields->h_proto + 1); in of_dpa_flow_pkt_parse()
656 if (fc->fields.ipv4hdr) { in of_dpa_unicast_routing_build_match()
657 match->value.ipv4.addr.dst = fc->fields.ipv4hdr->ip_dst; in of_dpa_unicast_routing_build_match()
686 if (fc->fields.ipv4hdr) { in of_dpa_multicast_routing_build_match()
687 match->value.ipv4.addr.src = fc->fields.ipv4hdr->ip_src; in of_dpa_multicast_routing_build_match()
688 match->value.ipv4.addr.dst = fc->fields.ipv4hdr->ip_dst; in of_dpa_multicast_routing_build_match()
728 if (fc->fields.ipv4hdr) { in of_dpa_acl_build_match()
729 match->value.ip.proto = fc->fields.ipv4hdr->ip_p; in of_dpa_acl_build_match()
730 match->value.ip.tos = fc->fields.ipv4hdr->ip_tos; in of_dpa_acl_build_match()