Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/s390/net/
Dqeth_l3_main.c1645 struct qeth_hdr_layer3 *l3_hdr = &hdr->hdr.l3; in qeth_l3_fill_header() local
1659 l3_hdr->flags = QETH_HDR_IPV6 | QETH_CAST_UNICAST; in qeth_l3_fill_header()
1660 l3_hdr->next_hop.addr.s6_addr16[0] = htons(0xfe80); in qeth_l3_fill_header()
1661 memcpy(&l3_hdr->next_hop.addr.s6_addr32[2], in qeth_l3_fill_header()
1692 l3_hdr->flags |= qeth_l3_cast_type_to_flag(cast_type); in qeth_l3_fill_header()
1695 l3_hdr->next_hop.addr.s6_addr32[3] = in qeth_l3_fill_header()
1698 l3_hdr->next_hop.addr = *qeth_next_hop_v6_rcu(skb, dst); in qeth_l3_fill_header()
1705 l3_hdr->flags |= QETH_HDR_PASSTHRU; in qeth_l3_fill_header()
Dqeth_core_main.c5435 struct qeth_hdr_layer3 *l3_hdr = &hdr->hdr.l3; in qeth_l3_rebuild_skb() local
5444 if (!(l3_hdr->flags & QETH_HDR_PASSTHRU)) { in qeth_l3_rebuild_skb()
5445 u16 prot = (l3_hdr->flags & QETH_HDR_IPV6) ? ETH_P_IPV6 : in qeth_l3_rebuild_skb()
5450 switch (l3_hdr->flags & QETH_HDR_CAST_MASK) { in qeth_l3_rebuild_skb()
5468 if (l3_hdr->ext_flags & QETH_HDR_EXT_SRC_MAC_ADDR) in qeth_l3_rebuild_skb()
5470 &l3_hdr->next_hop.rx.src_mac, skb->len); in qeth_l3_rebuild_skb()
5478 (l3_hdr->ext_flags & (QETH_HDR_EXT_VLAN_FRAME | in qeth_l3_rebuild_skb()
5480 u16 tag = (l3_hdr->ext_flags & QETH_HDR_EXT_VLAN_FRAME) ? in qeth_l3_rebuild_skb()
5481 l3_hdr->vlan_id : in qeth_l3_rebuild_skb()
5482 l3_hdr->next_hop.rx.vlan_id; in qeth_l3_rebuild_skb()