/kernel/linux/linux-5.10/net/rose/ |
D | rose_in.c | 36 static int rose_state1_machine(struct sock *sk, struct sk_buff *skb, int frametype) in rose_state1_machine() argument 40 switch (frametype) { in rose_state1_machine() 73 static int rose_state2_machine(struct sock *sk, struct sk_buff *skb, int frametype) in rose_state2_machine() argument 77 switch (frametype) { in rose_state2_machine() 101 static int rose_state3_machine(struct sock *sk, struct sk_buff *skb, int frametype, int ns, int nr,… in rose_state3_machine() argument 106 switch (frametype) { in rose_state3_machine() 139 if (frametype == ROSE_RNR) { in rose_state3_machine() 200 printk(KERN_WARNING "ROSE: unknown %02X in state 3\n", frametype); in rose_state3_machine() 212 static int rose_state4_machine(struct sock *sk, struct sk_buff *skb, int frametype) in rose_state4_machine() argument 216 switch (frametype) { in rose_state4_machine() [all …]
|
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()
|
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()
|
D | rose_route.c | 860 unsigned short frametype; in rose_route_frame() local 873 frametype = skb->data[2]; in rose_route_frame() 875 if (frametype == ROSE_CALL_REQUEST && in rose_route_frame() 910 rose_link_rx_restart(skb, rose_neigh, frametype); in rose_route_frame() 918 if (frametype == ROSE_CALL_REQUEST) { in rose_route_frame() 947 if (frametype == ROSE_CALL_REQUEST) in rose_route_frame() 966 if (frametype == ROSE_CALL_REQUEST) { in rose_route_frame() 975 if (frametype == ROSE_CLEAR_CONFIRMATION) in rose_route_frame() 980 if (frametype == ROSE_CLEAR_CONFIRMATION) in rose_route_frame() 987 if (frametype == ROSE_CALL_REQUEST) { in rose_route_frame() [all …]
|
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()
|
/kernel/linux/linux-5.10/net/netrom/ |
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() 146 static int nr_state3_machine(struct sock *sk, struct sk_buff *skb, int frametype) in nr_state3_machine() argument 158 switch (frametype) { in nr_state3_machine() 177 if (frametype & NR_CHOKE_FLAG) { in nr_state3_machine() 187 if (frametype & NR_NAK_FLAG) { in nr_state3_machine() 207 if (frametype & NR_CHOKE_FLAG) { in nr_state3_machine() 215 if (frametype & NR_NAK_FLAG) { in nr_state3_machine() [all …]
|
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()
|
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()
|
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()
|
/kernel/linux/linux-5.10/net/x25/ |
D | x25_in.c | 87 static int x25_state1_machine(struct sock *sk, struct sk_buff *skb, int frametype) in x25_state1_machine() argument 93 switch (frametype) { in x25_state1_machine() 175 static int x25_state2_machine(struct sock *sk, struct sk_buff *skb, int frametype) in x25_state2_machine() argument 177 switch (frametype) { in x25_state2_machine() 208 static int x25_state3_machine(struct sock *sk, struct sk_buff *skb, int frametype, int ns, int nr, … in x25_state3_machine() argument 216 switch (frametype) { in x25_state3_machine() 251 if (frametype == X25_RNR) { in x25_state3_machine() 326 pr_warn("unknown %02X in state 3\n", frametype); in x25_state3_machine() 344 static int x25_state4_machine(struct sock *sk, struct sk_buff *skb, int frametype) in x25_state4_machine() argument 348 switch (frametype) { in x25_state4_machine() [all …]
|
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()
|
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()
|
D | x25_link.c | 70 unsigned short frametype) in x25_link_control() argument 75 switch (frametype) { in x25_link_control() 100 frametype); in x25_link_control()
|
/kernel/linux/linux-5.10/net/ax25/ |
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() 122 frametype = AX25_I; /* I frame - carries NR/NS/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() 147 void ax25_send_control(ax25_cb *ax25, int frametype, int poll_bit, int type) in ax25_send_control() argument 162 *dptr = frametype; in ax25_send_control() [all …]
|
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() 100 static int ax25_ds_state2_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int pf, int ty… in ax25_ds_state2_machine() argument 102 switch (frametype) { in ax25_ds_state2_machine() 145 static int ax25_ds_state3_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int ns, int nr… in ax25_ds_state3_machine() argument 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() [all …]
|
D | ax25_std_in.c | 39 static int ax25_std_state1_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int pf, int t… in ax25_std_state1_machine() argument 41 switch (frametype) { in ax25_std_state1_machine() 103 static int ax25_std_state2_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int pf, int t… in ax25_std_state2_machine() argument 105 switch (frametype) { in ax25_std_state2_machine() 141 static int ax25_std_state3_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int ns, int n… in ax25_std_state3_machine() argument 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() 266 static int ax25_std_state4_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int ns, int n… in ax25_std_state4_machine() argument 270 switch (frametype) { in ax25_std_state4_machine() [all …]
|
/kernel/linux/linux-5.10/net/lapb/ |
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()
|
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
D | main.c | 366 static u16 frametype(u32 rspec, u8 mimoframe) in frametype() function 6649 xfts = frametype(rspec[1], wlc->mimoft); in brcms_c_d11hdrs_mac80211() 6650 xfts |= (frametype(rts_rspec[0], wlc->mimoft) << XFTS_RTS_FT_SHIFT); in brcms_c_d11hdrs_mac80211() 6651 xfts |= (frametype(rts_rspec[1], wlc->mimoft) << XFTS_FBRRTS_FT_SHIFT); in brcms_c_d11hdrs_mac80211() 6657 phyctl = frametype(rspec[0], wlc->mimoft); in brcms_c_d11hdrs_mac80211()
|