Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/s390/net/
Dqeth_l3_main.c1626 struct qeth_hdr_layer3 *l3_hdr = &hdr->hdr.l3; in qeth_l3_fill_header() local
1665 l3_hdr->flags |= qeth_l3_cast_type_to_flag(cast_type); in qeth_l3_fill_header()
1669 l3_hdr->next_hop.addr.s6_addr32[3] = in qeth_l3_fill_header()
1673 l3_hdr->next_hop.addr = *qeth_next_hop_v6_rcu(skb, dst); in qeth_l3_fill_header()
1680 l3_hdr->next_hop.addr.s6_addr16[0] = htons(0xfe80); in qeth_l3_fill_header()
1681 memcpy(&l3_hdr->next_hop.addr.s6_addr32[2], in qeth_l3_fill_header()
1683 l3_hdr->flags |= QETH_HDR_IPV6; in qeth_l3_fill_header()
1687 l3_hdr->flags |= QETH_HDR_PASSTHRU; in qeth_l3_fill_header()
Dqeth_core_main.c5445 struct qeth_hdr_layer3 *l3_hdr = &hdr->hdr.l3; in qeth_l3_rebuild_skb() local
5454 if (!(l3_hdr->flags & QETH_HDR_PASSTHRU)) { in qeth_l3_rebuild_skb()
5455 u16 prot = (l3_hdr->flags & QETH_HDR_IPV6) ? ETH_P_IPV6 : in qeth_l3_rebuild_skb()
5460 switch (l3_hdr->flags & QETH_HDR_CAST_MASK) { in qeth_l3_rebuild_skb()
5478 if (l3_hdr->ext_flags & QETH_HDR_EXT_SRC_MAC_ADDR) in qeth_l3_rebuild_skb()
5480 &l3_hdr->next_hop.rx.src_mac, skb->len); in qeth_l3_rebuild_skb()
5488 (l3_hdr->ext_flags & (QETH_HDR_EXT_VLAN_FRAME | in qeth_l3_rebuild_skb()
5490 u16 tag = (l3_hdr->ext_flags & QETH_HDR_EXT_VLAN_FRAME) ? in qeth_l3_rebuild_skb()
5491 l3_hdr->vlan_id : in qeth_l3_rebuild_skb()
5492 l3_hdr->next_hop.rx.vlan_id; in qeth_l3_rebuild_skb()