Searched refs:ptype (Results 1 – 3 of 3) sorted by relevance
148 uint16_t ptype; in interface_recv() local155 ptype = net_pkt_ll_proto_type(pkt); in interface_recv()160 if (ctx->link_types[i] == ptype) { in interface_recv()169 NET_DBG("Handler found for packet type 0x%04x", ptype); in interface_recv()184 NET_DBG("No handler found for packet type 0x%04x", ptype); in interface_recv()316 uint16_t ptype) in create_sll_header() argument329 hdr1.sll_protocol = htons(ptype); in create_sll_header()335 hdr2.sll2_protocol = htons(ptype); in create_sll_header()370 uint16_t ptype) in net_capture_data() argument422 ret = create_sll_header(iface, pkt, ctx, type, ptype); in net_capture_data()[all …]
550 uint32_t ptype) in ethernet_fill_header() argument596 if (ptype == htons(NET_ETH_PTYPE_ARP) || in ethernet_fill_header()606 hdr_vlan->type = ptype; in ethernet_fill_header()622 if (ptype == htons(NET_ETH_PTYPE_ARP) || in ethernet_fill_header()632 hdr->type = ptype; in ethernet_fill_header()684 uint16_t ptype = 0; in ethernet_send() local711 ptype = htons(NET_ETH_PTYPE_ARP); in ethernet_send()722 ptype = htons(NET_ETH_PTYPE_ARP); in ethernet_send()725 ptype = htons(NET_ETH_PTYPE_IP); in ethernet_send()730 ptype = htons(NET_ETH_PTYPE_IPV6); in ethernet_send()[all …]
321 uint16_t ptype);326 uint16_t ptype) in net_capture_data() argument332 ARG_UNUSED(ptype); in net_capture_data()