Home
last modified time | relevance | path

Searched refs:frametype (Results 1 – 21 of 21) sorted by relevance

/linux-2.6.39/net/rose/
Drose_in.c40 static int rose_state1_machine(struct sock *sk, struct sk_buff *skb, int frametype) in rose_state1_machine() argument
44 switch (frametype) { in rose_state1_machine()
77 static int rose_state2_machine(struct sock *sk, struct sk_buff *skb, int frametype) in rose_state2_machine() argument
81 switch (frametype) { in rose_state2_machine()
105 static int rose_state3_machine(struct sock *sk, struct sk_buff *skb, int frametype, int ns, int nr,… in rose_state3_machine() argument
110 switch (frametype) { in rose_state3_machine()
143 if (frametype == ROSE_RNR) { in rose_state3_machine()
203 printk(KERN_WARNING "ROSE: unknown %02X in state 3\n", frametype); in rose_state3_machine()
215 static int rose_state4_machine(struct sock *sk, struct sk_buff *skb, int frametype) in rose_state4_machine() argument
219 switch (frametype) { in rose_state4_machine()
[all …]
Drose_loopback.c72 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()
Drose_subr.c103 void rose_write_internal(struct sock *sk, int frametype) in rose_write_internal() argument
114 switch (frametype) { in rose_write_internal()
140 switch (frametype) { in rose_write_internal()
144 *dptr++ = frametype; in rose_write_internal()
157 *dptr++ = frametype; in rose_write_internal()
165 *dptr++ = frametype; in rose_write_internal()
173 *dptr++ = frametype; in rose_write_internal()
182 *dptr = frametype; in rose_write_internal()
190 *dptr++ = frametype; in rose_write_internal()
194 printk(KERN_ERR "ROSE: rose_write_internal - invalid frametype %02X\n", frametype); in rose_write_internal()
Drose_route.c860 unsigned short frametype; in rose_route_frame() local
874 frametype = skb->data[2]; in rose_route_frame()
876 if (frametype == ROSE_CALL_REQUEST && in rose_route_frame()
911 rose_link_rx_restart(skb, rose_neigh, frametype); in rose_route_frame()
919 if (frametype == ROSE_CALL_REQUEST) { in rose_route_frame()
948 if (frametype == ROSE_CALL_REQUEST) in rose_route_frame()
967 if (frametype == ROSE_CALL_REQUEST) { in rose_route_frame()
976 if (frametype == ROSE_CLEAR_CONFIRMATION) in rose_route_frame()
981 if (frametype == ROSE_CLEAR_CONFIRMATION) in rose_route_frame()
988 if (frametype == ROSE_CALL_REQUEST) { in rose_route_frame()
[all …]
Drose_link.c146 void rose_link_rx_restart(struct sk_buff *skb, struct rose_neigh *neigh, unsigned short frametype) in rose_link_rx_restart() argument
150 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()
/linux-2.6.39/net/netrom/
Dnr_in.c76 int frametype) in nr_state1_machine() argument
78 switch (frametype) { in nr_state1_machine()
120 int frametype) in nr_state2_machine() argument
122 switch (frametype) { in nr_state2_machine()
150 static int nr_state3_machine(struct sock *sk, struct sk_buff *skb, int frametype) in nr_state3_machine() argument
162 switch (frametype) { in nr_state3_machine()
181 if (frametype & NR_CHOKE_FLAG) { in nr_state3_machine()
191 if (frametype & NR_NAK_FLAG) { in nr_state3_machine()
211 if (frametype & NR_CHOKE_FLAG) { in nr_state3_machine()
219 if (frametype & NR_NAK_FLAG) { in nr_state3_machine()
[all …]
Dnr_subr.c123 void nr_write_internal(struct sock *sk, int frametype) in nr_write_internal() argument
132 switch (frametype & 0x0F) { in nr_write_internal()
144 printk(KERN_ERR "NET/ROM: nr_write_internal - invalid frame type %d\n", frametype); in nr_write_internal()
158 switch (frametype & 0x0F) { in nr_write_internal()
165 *dptr++ = frametype; in nr_write_internal()
186 *dptr++ = frametype; in nr_write_internal()
197 *dptr++ = frametype; in nr_write_internal()
205 *dptr++ = frametype; in nr_write_internal()
Dnr_out.c245 int frametype = NR_INFOACK; in nr_enquiry_response() local
248 frametype |= NR_CHOKE_FLAG; in nr_enquiry_response()
251 frametype |= NR_NAK_FLAG; in nr_enquiry_response()
254 nr_write_internal(sk, frametype); in nr_enquiry_response()
Daf_netrom.c874 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()
927 if (frametype == NR_CONNACK && skb->len == 22) in nr_rx_frame()
940 if (frametype != NR_CONNREQ) { in nr_rx_frame()
951 (frametype != NR_RESET || flags != 0)) in nr_rx_frame()
/linux-2.6.39/net/ax25/
Dax25_subr.c104 int frametype = AX25_ILLEGAL; in ax25_decode() local
111 frametype = AX25_I; /* I frame - carries NR/NS/PF */ in ax25_decode()
116 frametype = frame[0] & 0x0F; in ax25_decode()
120 frametype = frame[0] & ~AX25_PF; in ax25_decode()
126 frametype = AX25_I; /* I frame - carries NR/NS/PF */ in ax25_decode()
132 frametype = frame[0] & 0x0F; in ax25_decode()
137 frametype = frame[0] & ~AX25_PF; in ax25_decode()
143 return frametype; in ax25_decode()
151 void ax25_send_control(ax25_cb *ax25, int frametype, int poll_bit, int type) in ax25_send_control() argument
166 *dptr = frametype; in ax25_send_control()
[all …]
Dax25_ds_in.c36 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
38 switch (frametype) { in ax25_ds_state1_machine()
104 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
106 switch (frametype) { in ax25_ds_state2_machine()
149 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
153 switch (frametype) { in ax25_ds_state3_machine()
156 if (frametype == AX25_SABM) { in ax25_ds_state3_machine()
188 if (frametype == AX25_RR) in ax25_ds_state3_machine()
285 int queued = 0, frametype, ns, nr, pf; in ax25_ds_frame_in() local
287 frametype = ax25_decode(ax25, skb, &ns, &nr, &pf); in ax25_ds_frame_in()
[all …]
Dax25_std_in.c43 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
45 switch (frametype) { in ax25_std_state1_machine()
107 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
109 switch (frametype) { in ax25_std_state2_machine()
145 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
149 switch (frametype) { in ax25_std_state3_machine()
152 if (frametype == AX25_SABM) { in ax25_std_state3_machine()
182 if (frametype == AX25_RR) in ax25_std_state3_machine()
270 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
274 switch (frametype) { in ax25_std_state4_machine()
[all …]
/linux-2.6.39/net/x25/
Dx25_in.c90 static int x25_state1_machine(struct sock *sk, struct sk_buff *skb, int frametype) in x25_state1_machine() argument
96 switch (frametype) { in x25_state1_machine()
162 static int x25_state2_machine(struct sock *sk, struct sk_buff *skb, int frametype) in x25_state2_machine() argument
164 switch (frametype) { in x25_state2_machine()
187 static int x25_state3_machine(struct sock *sk, struct sk_buff *skb, int frametype, int ns, int nr, … in x25_state3_machine() argument
195 switch (frametype) { in x25_state3_machine()
227 if (frametype == X25_RNR) { in x25_state3_machine()
302 printk(KERN_WARNING "x25: unknown %02X in state 3\n", frametype); in x25_state3_machine()
314 static int x25_state4_machine(struct sock *sk, struct sk_buff *skb, int frametype) in x25_state4_machine() argument
316 switch (frametype) { in x25_state4_machine()
[all …]
Dx25_dev.c32 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 printk(KERN_DEBUG "x25_receive_data(): unknown frame type %2x\n",frametype); in x25_receive_data()
Dx25_subr.c112 void x25_write_internal(struct sock *sk, int frametype) in x25_write_internal() argument
128 switch (frametype) { in x25_write_internal()
153 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()
Dx25_link.c73 unsigned short frametype) in x25_link_control() argument
78 switch (frametype) { in x25_link_control()
101 "with LCI 000\n", frametype); in x25_link_control()
/linux-2.6.39/net/lapb/
Dlapb_subr.c229 void lapb_send_control(struct lapb_cb *lapb, int frametype, in lapb_send_control() argument
241 if ((frametype & LAPB_U) == LAPB_U) { in lapb_send_control()
243 *dptr = frametype; in lapb_send_control()
247 dptr[0] = frametype; in lapb_send_control()
253 *dptr = frametype; in lapb_send_control()
255 if ((frametype & LAPB_U) == LAPB_S) /* S frames carry NR */ in lapb_send_control()
/linux-2.6.39/arch/cris/include/arch-v10/arch/
Dprocessor.h68 regs->frametype = CRIS_FRAME_NORMAL;
Dptrace.h59 unsigned long frametype; /* type of stackframe */ member
/linux-2.6.39/arch/cris/arch-v10/kernel/
Dentry.S193 pop $r10 ; frametype
393 push $r10 ; frametype == 1, BUSFAULT frame type
435 clear.d [$sp=$sp-4] ; frametype == 0, normal frame
Dsignal.c261 regs->frametype = CRIS_FRAME_NORMAL; in setup_sigcontext()