Searched refs:network_protocol_type (Results 1 – 1 of 1) sorted by relevance
430 static int bnep_filter_protocol(bnep_channel_t *channel, uint16_t network_protocol_type) in bnep_filter_protocol() argument440 if ((network_protocol_type >= channel->net_filter[i].range_start) && in bnep_filter_protocol()441 (network_protocol_type <= channel->net_filter[i].range_end)) { in bnep_filter_protocol()489 uint16_t network_protocol_type; in bnep_send() local512 network_protocol_type = big_endian_read_16(packet, pos); in bnep_send()517 if (network_protocol_type == ETHERTYPE_VLAN) { /* IEEE 802.1Q tag header */ in bnep_send()523 network_protocol_type = big_endian_read_16(packet, pos + 2); in bnep_send()527 if (!bnep_filter_protocol(channel, network_protocol_type) || in bnep_send()530 if ((network_protocol_type == ETHERTYPE_VLAN) && in bnep_send()586 big_endian_store_16(bnep_out_buffer, pos_out, network_protocol_type); in bnep_send()[all …]