/net/rose/ |
D | rose_in.c | 39 static int rose_state1_machine(struct sock *sk, struct sk_buff *skb, int frametype) in rose_state1_machine() argument 43 switch (frametype) { in rose_state1_machine() 76 static int rose_state2_machine(struct sock *sk, struct sk_buff *skb, int frametype) in rose_state2_machine() argument 80 switch (frametype) { in rose_state2_machine() 104 static int rose_state3_machine(struct sock *sk, struct sk_buff *skb, int frametype, int ns, int nr,… in rose_state3_machine() argument 109 switch (frametype) { in rose_state3_machine() 142 if (frametype == ROSE_RNR) { in rose_state3_machine() 202 printk(KERN_WARNING "ROSE: unknown %02X in state 3\n", frametype); in rose_state3_machine() 214 static int rose_state4_machine(struct sock *sk, struct sk_buff *skb, int frametype) in rose_state4_machine() argument 218 switch (frametype) { in rose_state4_machine() [all …]
|
D | rose_subr.c | 102 void rose_write_internal(struct sock *sk, int frametype) in rose_write_internal() argument 113 switch (frametype) { in rose_write_internal() 139 switch (frametype) { in rose_write_internal() 143 *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_loopback.c | 72 unsigned short frametype; in rose_loopback_timer() local 81 frametype = skb->data[2]; in rose_loopback_timer() 82 if (frametype == ROSE_CALL_REQUEST && in rose_loopback_timer() 101 if (frametype == ROSE_CALL_REQUEST) { in rose_loopback_timer()
|
D | rose_route.c | 860 unsigned short frametype; in rose_route_frame() local 869 frametype = skb->data[2]; in rose_route_frame() 871 if (frametype == ROSE_CALL_REQUEST && in rose_route_frame() 906 rose_link_rx_restart(skb, rose_neigh, frametype); in rose_route_frame() 914 if (frametype == ROSE_CALL_REQUEST) { in rose_route_frame() 943 if (frametype == ROSE_CALL_REQUEST) in rose_route_frame() 962 if (frametype == ROSE_CALL_REQUEST) { in rose_route_frame() 971 if (frametype == ROSE_CLEAR_CONFIRMATION) in rose_route_frame() 976 if (frametype == ROSE_CLEAR_CONFIRMATION) in rose_route_frame() 983 if (frametype == ROSE_CALL_REQUEST) { in rose_route_frame() [all …]
|
D | rose_link.c | 145 void rose_link_rx_restart(struct sk_buff *skb, struct rose_neigh *neigh, unsigned short frametype) in rose_link_rx_restart() argument 149 switch (frametype) { in rose_link_rx_restart() 168 printk(KERN_WARNING "ROSE: received unknown %02X with LCI 000\n", frametype); in rose_link_rx_restart()
|
/net/netrom/ |
D | nr_in.c | 75 int frametype) in nr_state1_machine() argument 77 switch (frametype) { in nr_state1_machine() 119 int frametype) in nr_state2_machine() argument 121 switch (frametype) { in nr_state2_machine() 149 static int nr_state3_machine(struct sock *sk, struct sk_buff *skb, int frametype) in nr_state3_machine() argument 161 switch (frametype) { in nr_state3_machine() 180 if (frametype & NR_CHOKE_FLAG) { in nr_state3_machine() 190 if (frametype & NR_NAK_FLAG) { in nr_state3_machine() 210 if (frametype & NR_CHOKE_FLAG) { in nr_state3_machine() 218 if (frametype & NR_NAK_FLAG) { in nr_state3_machine() [all …]
|
D | nr_subr.c | 122 void nr_write_internal(struct sock *sk, int frametype) in nr_write_internal() argument 131 switch (frametype & 0x0F) { in nr_write_internal() 143 printk(KERN_ERR "NET/ROM: nr_write_internal - invalid frame type %d\n", frametype); in nr_write_internal() 157 switch (frametype & 0x0F) { in nr_write_internal() 164 *dptr++ = frametype; in nr_write_internal() 185 *dptr++ = frametype; in nr_write_internal() 196 *dptr++ = frametype; in nr_write_internal() 204 *dptr++ = frametype; in nr_write_internal()
|
D | nr_out.c | 244 int frametype = NR_INFOACK; in nr_enquiry_response() local 247 frametype |= NR_CHOKE_FLAG; in nr_enquiry_response() 250 frametype |= NR_NAK_FLAG; in nr_enquiry_response() 253 nr_write_internal(sk, frametype); in nr_enquiry_response()
|
D | af_netrom.c | 870 unsigned short frametype, flags, window, timeout; in nr_rx_frame() local 886 frametype = skb->data[19] & 0x0F; in nr_rx_frame() 892 if (frametype == NR_PROTOEXT && in nr_rx_frame() 911 if (frametype == NR_CONNACK && flags == NR_CHOKE_FLAG) in nr_rx_frame() 914 if (frametype == NR_CONNREQ) in nr_rx_frame() 923 if (frametype == NR_CONNACK && skb->len == 22) in nr_rx_frame() 936 if (frametype != NR_CONNREQ) { in nr_rx_frame() 947 (frametype != NR_RESET || flags != 0)) in nr_rx_frame()
|
/net/ax25/ |
D | ax25_subr.c | 103 int frametype = AX25_ILLEGAL; in ax25_decode() local 110 frametype = AX25_I; /* I frame - carries NR/NS/PF */ in ax25_decode() 115 frametype = frame[0] & 0x0F; in ax25_decode() 119 frametype = frame[0] & ~AX25_PF; in ax25_decode() 125 frametype = AX25_I; /* I frame - carries NR/NS/PF */ in ax25_decode() 131 frametype = frame[0] & 0x0F; in ax25_decode() 136 frametype = frame[0] & ~AX25_PF; in ax25_decode() 142 return frametype; in ax25_decode() 150 void ax25_send_control(ax25_cb *ax25, int frametype, int poll_bit, int type) in ax25_send_control() argument 165 *dptr = frametype; in ax25_send_control() [all …]
|
D | ax25_std_in.c | 42 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 44 switch (frametype) { in ax25_std_state1_machine() 106 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 108 switch (frametype) { in ax25_std_state2_machine() 144 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 148 switch (frametype) { in ax25_std_state3_machine() 151 if (frametype == AX25_SABM) { in ax25_std_state3_machine() 181 if (frametype == AX25_RR) in ax25_std_state3_machine() 269 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 273 switch (frametype) { in ax25_std_state4_machine() [all …]
|
D | ax25_ds_in.c | 35 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 37 switch (frametype) { in ax25_ds_state1_machine() 103 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 105 switch (frametype) { in ax25_ds_state2_machine() 148 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 152 switch (frametype) { in ax25_ds_state3_machine() 155 if (frametype == AX25_SABM) { in ax25_ds_state3_machine() 187 if (frametype == AX25_RR) in ax25_ds_state3_machine() 284 int queued = 0, frametype, ns, nr, pf; in ax25_ds_frame_in() local 286 frametype = ax25_decode(ax25, skb, &ns, &nr, &pf); in ax25_ds_frame_in() [all …]
|
/net/x25/ |
D | x25_in.c | 92 static int x25_state1_machine(struct sock *sk, struct sk_buff *skb, int frametype) in x25_state1_machine() argument 98 switch (frametype) { in x25_state1_machine() 171 static int x25_state2_machine(struct sock *sk, struct sk_buff *skb, int frametype) in x25_state2_machine() argument 173 switch (frametype) { in x25_state2_machine() 204 static int x25_state3_machine(struct sock *sk, struct sk_buff *skb, int frametype, int ns, int nr, … in x25_state3_machine() argument 212 switch (frametype) { in x25_state3_machine() 247 if (frametype == X25_RNR) { in x25_state3_machine() 322 pr_warn("unknown %02X in state 3\n", frametype); in x25_state3_machine() 340 static int x25_state4_machine(struct sock *sk, struct sk_buff *skb, int frametype) in x25_state4_machine() argument 344 switch (frametype) { in x25_state4_machine() [all …]
|
D | x25_dev.c | 34 unsigned short frametype; in x25_receive_data() local 40 frametype = skb->data[2]; in x25_receive_data() 48 x25_link_control(skb, nb, frametype); in x25_receive_data() 73 if (frametype == X25_CALL_REQUEST) in x25_receive_data() 82 if (frametype == X25_CLEAR_CONFIRMATION) { in x25_receive_data() 93 if (frametype != X25_CLEAR_CONFIRMATION) in x25_receive_data() 94 pr_debug("x25_receive_data(): unknown frame type %2x\n",frametype); in x25_receive_data()
|
D | x25_subr.c | 114 void x25_write_internal(struct sock *sk, int frametype) in x25_write_internal() argument 130 switch (frametype) { in x25_write_internal() 153 pr_err("invalid frame type %02X\n", frametype); in x25_write_internal() 184 switch (frametype) { in x25_write_internal() 230 *dptr++ = frametype; in x25_write_internal() 237 *dptr++ = frametype; in x25_write_internal() 247 *dptr++ = frametype; in x25_write_internal() 251 *dptr = frametype; in x25_write_internal() 260 *dptr = frametype; in x25_write_internal()
|
D | x25_link.c | 75 unsigned short frametype) in x25_link_control() argument 80 switch (frametype) { in x25_link_control() 105 frametype); in x25_link_control()
|
/net/lapb/ |
D | lapb_subr.c | 228 void lapb_send_control(struct lapb_cb *lapb, int frametype, in lapb_send_control() argument 240 if ((frametype & LAPB_U) == LAPB_U) { in lapb_send_control() 242 *dptr = frametype; in lapb_send_control() 246 dptr[0] = frametype; in lapb_send_control() 252 *dptr = frametype; in lapb_send_control() 254 if ((frametype & LAPB_U) == LAPB_S) /* S frames carry NR */ in lapb_send_control()
|