Home
last modified time | relevance | path

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

/drivers/s390/net/
Dqeth_l3_main.c1630 struct qeth_hdr_layer3 *l3_hdr = &hdr->hdr.l3; in qeth_l3_fill_header() local
1669 l3_hdr->flags |= qeth_l3_cast_type_to_flag(cast_type); in qeth_l3_fill_header()
1673 l3_hdr->next_hop.addr.s6_addr32[3] = in qeth_l3_fill_header()
1677 l3_hdr->next_hop.addr = *qeth_next_hop_v6_rcu(skb, dst); in qeth_l3_fill_header()
1684 l3_hdr->next_hop.addr.s6_addr16[0] = htons(0xfe80); in qeth_l3_fill_header()
1685 memcpy(&l3_hdr->next_hop.addr.s6_addr32[2], in qeth_l3_fill_header()
1687 l3_hdr->flags |= QETH_HDR_IPV6; in qeth_l3_fill_header()
1691 l3_hdr->flags |= QETH_HDR_PASSTHRU; in qeth_l3_fill_header()
Dqeth_core_main.c5472 struct qeth_hdr_layer3 *l3_hdr = &hdr->hdr.l3; in qeth_l3_rebuild_skb() local
5481 if (!(l3_hdr->flags & QETH_HDR_PASSTHRU)) { in qeth_l3_rebuild_skb()
5482 u16 prot = (l3_hdr->flags & QETH_HDR_IPV6) ? ETH_P_IPV6 : in qeth_l3_rebuild_skb()
5487 switch (l3_hdr->flags & QETH_HDR_CAST_MASK) { in qeth_l3_rebuild_skb()
5505 if (l3_hdr->ext_flags & QETH_HDR_EXT_SRC_MAC_ADDR) in qeth_l3_rebuild_skb()
5507 &l3_hdr->next_hop.rx.src_mac, skb->len); in qeth_l3_rebuild_skb()
5515 (l3_hdr->ext_flags & (QETH_HDR_EXT_VLAN_FRAME | in qeth_l3_rebuild_skb()
5517 u16 tag = (l3_hdr->ext_flags & QETH_HDR_EXT_VLAN_FRAME) ? in qeth_l3_rebuild_skb()
5518 l3_hdr->vlan_id : in qeth_l3_rebuild_skb()
5519 l3_hdr->next_hop.rx.vlan_id; in qeth_l3_rebuild_skb()