Home
last modified time | relevance | path

Searched refs:packet_type (Results 1 – 25 of 124) sorted by relevance

12345

/Linux-v5.4/include/uapi/linux/
Dbatadv_packet.h209 __u8 packet_type; member
235 __u8 packet_type; member
256 __u8 packet_type; member
281 __u8 packet_type; member
304 __u8 packet_type; member
333 __u8 packet_type; member
372 __u8 packet_type; member
406 __u8 packet_type; member
447 __u8 packet_type; member
477 __u8 packet_type; member
[all …]
/Linux-v5.4/include/net/
Dllc.h26 struct packet_type;
61 struct packet_type *pt,
98 int llc_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *pt,
113 struct packet_type *pt,
Dpsnap.h8 struct packet_type *,
Ddatalink.h13 struct packet_type *, struct net_device *);
/Linux-v5.4/drivers/scsi/fcoe/
Dfcoe.h69 struct packet_type fcoe_packet_type;
70 struct packet_type fip_packet_type;
71 struct packet_type fip_vlan_packet_type;
/Linux-v5.4/drivers/media/usb/gspca/
Dsq905c.c128 int packet_type; in sq905c_dostream() local
159 packet_type = FIRST_PACKET; in sq905c_dostream()
160 gspca_frame_add(gspca_dev, packet_type, in sq905c_dostream()
176 packet_type = LAST_PACKET; in sq905c_dostream()
178 packet_type = INTER_PACKET; in sq905c_dostream()
179 gspca_frame_add(gspca_dev, packet_type, in sq905c_dostream()
Dsq905.c205 int packet_type; in sq905_dostream() local
246 packet_type = FIRST_PACKET; in sq905_dostream()
253 packet_type = LAST_PACKET; in sq905_dostream()
255 packet_type = INTER_PACKET; in sq905_dostream()
257 gspca_frame_add(gspca_dev, packet_type, in sq905_dostream()
261 if (packet_type == FIRST_PACKET && in sq905_dostream()
Djl2005bcd.c311 int packet_type; in jl2005c_dostream() local
353 packet_type = FIRST_PACKET; in jl2005c_dostream()
354 gspca_frame_add(gspca_dev, packet_type, in jl2005c_dostream()
372 packet_type = LAST_PACKET; in jl2005c_dostream()
375 packet_type = INTER_PACKET; in jl2005c_dostream()
376 gspca_frame_add(gspca_dev, packet_type, in jl2005c_dostream()
Djeilinj.c264 int packet_type; in sd_pkt_scan() local
291 packet_type = LAST_PACKET; in sd_pkt_scan()
293 packet_type = INTER_PACKET; in sd_pkt_scan()
294 gspca_frame_add(gspca_dev, packet_type, in sd_pkt_scan()
/Linux-v5.4/net/llc/
Dllc_core.c94 struct packet_type *pt, in llc_sap_open()
133 static struct packet_type llc_packet_type __read_mostly = {
138 static struct packet_type llc_tr_packet_type __read_mostly = {
Dllc_input.c155 struct packet_type *pt, struct net_device *orig_dev) in llc_rcv()
161 struct packet_type *, struct net_device *); in llc_rcv()
/Linux-v5.4/net/802/
Dpsnap.c46 struct packet_type *pt, struct net_device *orig_dev) in snap_rcv()
50 static struct packet_type snap_packet_type = { in snap_rcv()
125 struct packet_type *, in register_snap_client() argument
/Linux-v5.4/net/caif/
Dcfdgml.c83 u8 packet_type; in cfdgml_transmit() local
101 packet_type = 0x08; /* B9 set - UNCLASSIFIED */ in cfdgml_transmit()
102 cfpkt_add_head(pkt, &packet_type, 1); in cfdgml_transmit()
/Linux-v5.4/drivers/staging/gdm724x/
Dgdm_mux.c19 static u16 packet_type[TTY_MAX_COUNT] = {0xF011, 0xF010}; variable
46 if (packet_type[i] == packetType) in packet_type_to_index()
146 unsigned short packet_type; in up_to_host() local
158 packet_type = __le16_to_cpu(mux_header->packet_type); in up_to_host()
169 payload_size, len, packet_type); in up_to_host()
173 index = packet_type_to_index(packet_type); in up_to_host()
375 mux_header->packet_type = __cpu_to_le16(packet_type[tty_index]); in gdm_mux_send()
/Linux-v5.4/net/batman-adv/
Dmain.c448 struct packet_type *ptype, in batadv_batman_skb_recv()
504 idx = batadv_ogm_packet->packet_type; in batadv_batman_skb_recv()
578 batadv_recv_handler_register(u8 packet_type, in batadv_recv_handler_register() argument
584 curr = batadv_rx_handler[packet_type]; in batadv_recv_handler_register()
590 batadv_rx_handler[packet_type] = recv_handler; in batadv_recv_handler_register()
598 void batadv_recv_handler_unregister(u8 packet_type) in batadv_recv_handler_unregister() argument
600 batadv_rx_handler[packet_type] = batadv_recv_unhandled_packet; in batadv_recv_handler_unregister()
Dmain.h251 struct packet_type *ptype,
254 batadv_recv_handler_register(u8 packet_type,
257 void batadv_recv_handler_unregister(u8 packet_type);
Dsend.h54 struct sk_buff *skb, int packet_type,
59 struct sk_buff *skb, int packet_type,
Dsend.c247 unicast_packet->packet_type = BATADV_UNICAST; in batadv_send_skb_push_fill_unicast()
305 uc_4addr_packet->u.packet_type = BATADV_UNICAST_4ADDR; in batadv_send_skb_prepare_unicast_4addr()
334 struct sk_buff *skb, int packet_type, in batadv_send_skb_unicast() argument
346 switch (packet_type) { in batadv_send_skb_unicast()
406 struct sk_buff *skb, int packet_type, in batadv_send_skb_via_tt_generic() argument
425 ret = batadv_send_skb_unicast(bat_priv, skb, packet_type, in batadv_send_skb_via_tt_generic()
/Linux-v5.4/net/dsa/
Dtag_brcm.c112 struct packet_type *pt, in brcm_tag_rcv_ll()
157 struct packet_type *pt) in brcm_tag_rcv()
196 struct packet_type *pt) in brcm_tag_rcv_prepend()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_fid.c64 enum mlxsw_sp_flood_type packet_type; member
304 enum mlxsw_sp_flood_type packet_type) in mlxsw_sp_fid_flood_table_lookup() argument
310 if (fid_family->flood_tables[i].packet_type != packet_type) in mlxsw_sp_fid_flood_table_lookup()
319 enum mlxsw_sp_flood_type packet_type, u8 local_port, in mlxsw_sp_fid_flood_set() argument
331 flood_table = mlxsw_sp_fid_flood_table_lookup(fid, packet_type); in mlxsw_sp_fid_flood_set()
563 .packet_type = MLXSW_SP_FLOOD_TYPE_UC,
569 .packet_type = MLXSW_SP_FLOOD_TYPE_MC,
575 .packet_type = MLXSW_SP_FLOOD_TYPE_BC,
816 .packet_type = MLXSW_SP_FLOOD_TYPE_UC,
822 .packet_type = MLXSW_SP_FLOOD_TYPE_MC,
[all …]
/Linux-v5.4/drivers/input/mouse/
Delantech.c449 int packet_type) in elantech_report_trackpoint() argument
505 int packet_type) in elantech_report_absolute_v3() argument
532 if (packet_type == PACKET_V3_HEAD) { in elantech_report_absolute_v3()
689 int packet_type) in elantech_report_absolute_v4() argument
691 switch (packet_type) { in elantech_report_absolute_v4()
823 unsigned char packet_type = packet[3] & 0x03; in elantech_packet_check_v4() local
851 switch (packet_type) { in elantech_packet_check_v4()
871 int packet_type; in elantech_process_byte() local
899 packet_type = elantech_packet_check_v3(psmouse); in elantech_process_byte()
900 switch (packet_type) { in elantech_process_byte()
[all …]
/Linux-v5.4/sound/soc/mediatek/common/
Dmtk-btcvsd.c358 enum bt_sco_packet_len packet_type, in mtk_btcvsd_read_from_bt() argument
395 if ((control & btsco_packet_valid_mask[packet_type][i]) == in mtk_btcvsd_read_from_bt()
396 btsco_packet_valid_mask[packet_type][i]) in mtk_btcvsd_read_from_bt()
411 enum bt_sco_packet_len packet_type, in mtk_btcvsd_write_to_bt() argument
484 unsigned int packet_type, packet_num, packet_length; in mtk_btcvsd_snd_irq_handler() local
498 packet_type = (control >> 18) & 0x7; in mtk_btcvsd_snd_irq_handler()
506 if (packet_type >= BT_SCO_CVSD_MAX) { in mtk_btcvsd_snd_irq_handler()
508 __func__, packet_type); in mtk_btcvsd_snd_irq_handler()
512 packet_length = btsco_packet_info[packet_type][0]; in mtk_btcvsd_snd_irq_handler()
513 packet_num = btsco_packet_info[packet_type][1]; in mtk_btcvsd_snd_irq_handler()
[all …]
/Linux-v5.4/net/packet/
Dinternal.h93 struct packet_type prot_hook ____cacheline_aligned_in_smp;
134 struct packet_type prot_hook ____cacheline_aligned_in_smp;
/Linux-v5.4/net/core/
Dnet-procfs.c187 struct packet_type *pt = NULL; in ptype_get_idx()
216 struct packet_type *pt; in ptype_seq_next()
240 return list_entry(nxt, struct packet_type, list); in ptype_seq_next()
251 struct packet_type *pt = v; in ptype_seq_show()
/Linux-v5.4/drivers/usb/isp1760/
Disp1760-hcd.c121 u8 packet_type; member
560 ptd->dw1 |= TO_DW1_PID_TOKEN(qtd->packet_type); in create_ptd_atl()
696 u8 packet_type) in qtd_alloc() argument
706 qtd->packet_type = packet_type; in qtd_alloc()
786 switch (qtd->packet_type) { in collect_qtds()
876 ((qtd->packet_type == SETUP_PID) || in enqueue_qtds()
877 (qtd->packet_type == OUT_PID))) { in enqueue_qtds()
1398 u8 packet_type; in packetize_urb() local
1414 packet_type = IN_PID; in packetize_urb()
1416 packet_type = OUT_PID; in packetize_urb()
[all …]

12345