/linux-6.3-rc2/net/rose/ |
A D | rose_in.c | 41 switch (frametype) { in rose_state1_machine() 78 switch (frametype) { in rose_state2_machine() 107 switch (frametype) { in rose_state3_machine() 140 if (frametype == ROSE_RNR) { in rose_state3_machine() 217 switch (frametype) { in rose_state4_machine() 253 if (frametype == ROSE_CLEAR_REQUEST) { in rose_state5_machine() 266 int queued = 0, frametype, ns, nr, q, d, m; in rose_process_rx_frame() local 275 queued = rose_state1_machine(sk, skb, frametype); in rose_process_rx_frame() 278 queued = rose_state2_machine(sk, skb, frametype); in rose_process_rx_frame() 284 queued = rose_state4_machine(sk, skb, frametype); in rose_process_rx_frame() [all …]
|
A D | rose_loopback.c | 65 unsigned short frametype; in rose_loopback_timer() local 78 frametype = skb->data[2]; in rose_loopback_timer() 79 if (frametype == ROSE_CALL_REQUEST && in rose_loopback_timer() 98 if (frametype == ROSE_CALL_REQUEST) { in rose_loopback_timer()
|
A D | rose_subr.c | 99 void rose_write_internal(struct sock *sk, int frametype) in rose_write_internal() argument 112 switch (frametype) { in rose_write_internal() 138 switch (frametype) { in rose_write_internal() 142 *dptr++ = frametype; in rose_write_internal() 156 *dptr++ = frametype; in rose_write_internal() 164 *dptr++ = frametype; in rose_write_internal() 172 *dptr++ = frametype; in rose_write_internal() 181 *dptr = frametype; in rose_write_internal() 189 *dptr++ = frametype; in rose_write_internal() 193 printk(KERN_ERR "ROSE: rose_write_internal - invalid frametype %02X\n", frametype); in rose_write_internal()
|
A D | rose_route.c | 864 unsigned short frametype; in rose_route_frame() local 877 frametype = skb->data[2]; in rose_route_frame() 879 if (frametype == ROSE_CALL_REQUEST && in rose_route_frame() 922 if (frametype == ROSE_CALL_REQUEST) { in rose_route_frame() 951 if (frametype == ROSE_CALL_REQUEST) in rose_route_frame() 970 if (frametype == ROSE_CALL_REQUEST) { in rose_route_frame() 979 if (frametype == ROSE_CLEAR_CONFIRMATION) in rose_route_frame() 984 if (frametype == ROSE_CLEAR_CONFIRMATION) in rose_route_frame() 991 if (frametype == ROSE_CALL_REQUEST) { in rose_route_frame() 1000 if (frametype == ROSE_CLEAR_CONFIRMATION) in rose_route_frame() [all …]
|
A D | rose_link.c | 139 void rose_link_rx_restart(struct sk_buff *skb, struct rose_neigh *neigh, unsigned short frametype) in rose_link_rx_restart() argument 143 switch (frametype) { in rose_link_rx_restart() 162 printk(KERN_WARNING "ROSE: received unknown %02X with LCI 000\n", frametype); in rose_link_rx_restart()
|
/linux-6.3-rc2/net/netrom/ |
A D | nr_in.c | 72 int frametype) in nr_state1_machine() argument 74 switch (frametype) { in nr_state1_machine() 116 int frametype) in nr_state2_machine() argument 118 switch (frametype) { in nr_state2_machine() 157 switch (frametype) { in nr_state3_machine() 176 if (frametype & NR_CHOKE_FLAG) { in nr_state3_machine() 186 if (frametype & NR_NAK_FLAG) { in nr_state3_machine() 206 if (frametype & NR_CHOKE_FLAG) { in nr_state3_machine() 214 if (frametype & NR_NAK_FLAG) { in nr_state3_machine() 279 int queued = 0, frametype; in nr_process_rx_frame() local [all …]
|
A D | nr_subr.c | 119 void nr_write_internal(struct sock *sk, int frametype) in nr_write_internal() argument 128 switch (frametype & 0x0F) { in nr_write_internal() 140 printk(KERN_ERR "NET/ROM: nr_write_internal - invalid frame type %d\n", frametype); in nr_write_internal() 154 switch (frametype & 0x0F) { in nr_write_internal() 161 *dptr++ = frametype; in nr_write_internal() 182 *dptr++ = frametype; in nr_write_internal() 193 *dptr++ = frametype; in nr_write_internal() 201 *dptr++ = frametype; in nr_write_internal()
|
A D | nr_out.c | 241 int frametype = NR_INFOACK; in nr_enquiry_response() local 244 frametype |= NR_CHOKE_FLAG; in nr_enquiry_response() 247 frametype |= NR_NAK_FLAG; in nr_enquiry_response() 250 nr_write_internal(sk, frametype); in nr_enquiry_response()
|
A D | af_netrom.c | 874 unsigned short frametype, flags, window, timeout; in nr_rx_frame() local 890 frametype = skb->data[19] & 0x0F; in nr_rx_frame() 896 if (frametype == NR_PROTOEXT && in nr_rx_frame() 915 if (frametype == NR_CONNACK && flags == NR_CHOKE_FLAG) in nr_rx_frame() 918 if (frametype == NR_CONNREQ) in nr_rx_frame() 928 if (frametype == NR_CONNACK && skb->len == 22) in nr_rx_frame() 942 if (frametype != NR_CONNREQ) { in nr_rx_frame() 953 (frametype != NR_RESET || flags != 0)) in nr_rx_frame()
|
/linux-6.3-rc2/net/x25/ |
A D | x25_in.c | 93 switch (frametype) { in x25_state1_machine() 177 switch (frametype) { in x25_state2_machine() 216 switch (frametype) { in x25_state3_machine() 251 if (frametype == X25_RNR) { in x25_state3_machine() 348 switch (frametype) { in x25_state4_machine() 394 switch (frametype) { in x25_state5_machine() 418 int queued = 0, frametype, ns, nr, q, d, m; in x25_process_rx_frame() local 427 queued = x25_state1_machine(sk, skb, frametype); in x25_process_rx_frame() 430 queued = x25_state2_machine(sk, skb, frametype); in x25_process_rx_frame() 436 queued = x25_state4_machine(sk, skb, frametype); in x25_process_rx_frame() [all …]
|
A D | x25_dev.c | 29 unsigned short frametype; in x25_receive_data() local 35 frametype = skb->data[2]; in x25_receive_data() 43 x25_link_control(skb, nb, frametype); in x25_receive_data() 68 if (frametype == X25_CALL_REQUEST) in x25_receive_data() 77 if (frametype == X25_CLEAR_CONFIRMATION) { in x25_receive_data() 88 if (frametype != X25_CLEAR_CONFIRMATION) in x25_receive_data() 89 pr_debug("x25_receive_data(): unknown frame type %2x\n",frametype); in x25_receive_data()
|
A D | x25_subr.c | 109 void x25_write_internal(struct sock *sk, int frametype) in x25_write_internal() argument 125 switch (frametype) { in x25_write_internal() 148 pr_err("invalid frame type %02X\n", frametype); in x25_write_internal() 179 switch (frametype) { in x25_write_internal() 220 *dptr++ = frametype; in x25_write_internal() 227 *dptr++ = frametype; in x25_write_internal() 237 *dptr++ = frametype; in x25_write_internal() 241 *dptr = frametype; in x25_write_internal() 250 *dptr = frametype; in x25_write_internal()
|
A D | x25_link.c | 65 unsigned short frametype) in x25_link_control() argument 69 switch (frametype) { in x25_link_control() 120 frametype); in x25_link_control()
|
/linux-6.3-rc2/net/ax25/ |
A D | ax25_subr.c | 100 int frametype = AX25_ILLEGAL; in ax25_decode() local 107 frametype = AX25_I; /* I frame - carries NR/NS/PF */ in ax25_decode() 112 frametype = frame[0] & 0x0F; in ax25_decode() 116 frametype = frame[0] & ~AX25_PF; in ax25_decode() 128 frametype = frame[0] & 0x0F; in ax25_decode() 133 frametype = frame[0] & ~AX25_PF; in ax25_decode() 139 return frametype; in ax25_decode() 162 *dptr = frametype; in ax25_send_control() 167 if ((frametype & AX25_U) == AX25_U) { in ax25_send_control() 169 *dptr = frametype; in ax25_send_control() [all …]
|
A D | ax25_ds_in.c | 32 static int ax25_ds_state1_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int pf, int ty… in ax25_ds_state1_machine() argument 34 switch (frametype) { in ax25_ds_state1_machine() 102 switch (frametype) { in ax25_ds_state2_machine() 149 switch (frametype) { in ax25_ds_state3_machine() 152 if (frametype == AX25_SABM) { in ax25_ds_state3_machine() 184 if (frametype == AX25_RR) in ax25_ds_state3_machine() 281 int queued = 0, frametype, ns, nr, pf; in ax25_ds_frame_in() local 283 frametype = ax25_decode(ax25, skb, &ns, &nr, &pf); in ax25_ds_frame_in() 287 queued = ax25_ds_state1_machine(ax25, skb, frametype, pf, type); in ax25_ds_frame_in() 290 queued = ax25_ds_state2_machine(ax25, skb, frametype, pf, type); in ax25_ds_frame_in() [all …]
|
A D | ax25_std_in.c | 41 switch (frametype) { in ax25_std_state1_machine() 105 switch (frametype) { in ax25_std_state2_machine() 145 switch (frametype) { in ax25_std_state3_machine() 148 if (frametype == AX25_SABM) { in ax25_std_state3_machine() 178 if (frametype == AX25_RR) in ax25_std_state3_machine() 270 switch (frametype) { in ax25_std_state4_machine() 273 if (frametype == AX25_SABM) { in ax25_std_state4_machine() 305 if (frametype == AX25_RR) in ax25_std_state4_machine() 421 int queued = 0, frametype, ns, nr, pf; in ax25_std_frame_in() local 423 frametype = ax25_decode(ax25, skb, &ns, &nr, &pf); in ax25_std_frame_in() [all …]
|
/linux-6.3-rc2/net/lapb/ |
A D | lapb_subr.c | 221 void lapb_send_control(struct lapb_cb *lapb, int frametype, in lapb_send_control() argument 233 if ((frametype & LAPB_U) == LAPB_U) { in lapb_send_control() 235 *dptr = frametype; in lapb_send_control() 239 dptr[0] = frametype; in lapb_send_control() 245 *dptr = frametype; in lapb_send_control() 247 if ((frametype & LAPB_U) == LAPB_S) /* S frames carry NR */ in lapb_send_control()
|
/linux-6.3-rc2/drivers/net/wireless/purelifi/plfxlc/ |
A D | mac.h | 91 u32 frametype; member
|
A D | mac.c | 302 if (plhdr->frametype == IEEE80211_FTYPE_DATA) { in plfxlc_op_tx()
|
/linux-6.3-rc2/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
A D | main.c | 366 static u16 frametype(u32 rspec, u8 mimoframe) in frametype() function 6650 xfts = frametype(rspec[1], wlc->mimoft); in brcms_c_d11hdrs_mac80211() 6651 xfts |= (frametype(rts_rspec[0], wlc->mimoft) << XFTS_RTS_FT_SHIFT); in brcms_c_d11hdrs_mac80211() 6652 xfts |= (frametype(rts_rspec[1], wlc->mimoft) << XFTS_FBRRTS_FT_SHIFT); in brcms_c_d11hdrs_mac80211() 6658 phyctl = frametype(rspec[0], wlc->mimoft); in brcms_c_d11hdrs_mac80211()
|