/net/tipc/ |
H A D | node_subscr.c | 86 struct tipc_node_subscr *ns; local 88 list_for_each_entry(ns, &node->nsub, nodesub_list) { 89 if (ns->handle_node_down) { 90 tipc_k_signal((Handler)ns->handle_node_down, 91 (unsigned long)ns->usr_handle); 92 ns->handle_node_down = NULL;
|
H A D | name_table.c | 476 struct name_seq *ns; local 479 hlist_for_each_entry(ns, seq_head, ns_list) { 480 if (ns->type == type) 481 return ns;
|
/net/nfc/hci/ |
H A D | llc_shdlc.c | 62 int ns; /* next seq num for send */ member in struct:llc_shdlc 237 struct sk_buff *skb, int ns, int nr) 239 int x_ns = ns; 242 pr_debug("recvd I-frame %d, remote waiting frame %d\n", ns, nr); 266 if (llc_shdlc_x_lt_y_lteq_z(shdlc->dnr, y_nr, shdlc->ns)) { 280 if (llc_shdlc_x_lt_y_lteq_z(shdlc->dnr, y_nr, shdlc->ns)) { 290 pr_debug("ns reset to %d\n", shdlc->dnr); 296 shdlc->ns = shdlc->dnr; 305 if (llc_shdlc_x_lteq_y_lt_z(shdlc->dnr, y_nr, shdlc->ns)) { 363 shdlc->ns 236 llc_shdlc_rcv_i_frame(struct llc_shdlc *shdlc, struct sk_buff *skb, int ns, int nr) argument 477 int ns; local 518 llc_shdlc_w_used(int ns, int dnr) argument [all...] |
/net/llc/ |
H A D | llc_c_ev.c | 52 * @ns: sequence number of received pdu. 59 static u16 llc_util_ns_inside_rx_window(u8 ns, u8 vr, u8 rw) argument 61 return !llc_circular_between(vr, ns, 201 const u8 ns = LLC_I_GET_NS(pdu); local 204 LLC_I_PF_IS_0(pdu) && ns != vr && 205 !llc_util_ns_inside_rx_window(ns, vr, llc_sk(sk)->rw) ? 0 : 1; 213 const u8 ns = LLC_I_GET_NS(pdu); local 216 LLC_I_PF_IS_1(pdu) && ns != vr && 217 !llc_util_ns_inside_rx_window(ns, vr, llc_sk(sk)->rw) ? 0 : 1; 225 const u8 ns local 268 const u8 ns = LLC_I_GET_NS(pdu); local 280 const u8 ns = LLC_I_GET_NS(pdu); local 292 const u8 ns = LLC_I_GET_NS(pdu); local 303 const u8 ns = LLC_I_GET_NS(pdu); local [all...] |
H A D | llc_pdu.c | 102 * @ns: The sequence number of the data PDU 107 void llc_pdu_init_as_i_cmd(struct sk_buff *skb, u8 p_bit, u8 ns, u8 nr) argument 114 pdu->ctrl_1 |= (ns << 1) & 0xFE; /* set N(S) in bits 2..8 */
|
/net/core/ |
H A D | net_namespace.c | 233 struct net *ns = p; local 234 if (ns && atomic_dec_and_test(&ns->passive)) 235 net_free(ns); 350 net = get_net(ei->ns); 644 static void netns_put(void *ns) argument 646 put_net(ns); 649 static int netns_install(struct nsproxy *nsproxy, void *ns) argument 651 struct net *net = ns; 662 static unsigned int netns_inum(void *ns) argument [all...] |
H A D | net-sysfs.c | 1162 struct net *ns = current->nsproxy->net_ns; local 1164 if (ns) 1165 atomic_inc(&ns->passive); 1167 return ns;
|
/net/ax25/ |
H A D | ax25_ds_in.c | 148 static int ax25_ds_state3_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int ns, int nr, int pf, int type) argument 241 if (ns == ax25->vr) { 245 ax25->vr = ns; /* ax25->vr - 1 */ 284 int queued = 0, frametype, ns, nr, pf; local 286 frametype = ax25_decode(ax25, skb, &ns, &nr, &pf); 296 queued = ax25_ds_state3_machine(ax25, skb, frametype, ns, nr, pf, type);
|
H A D | ax25_std_in.c | 144 static int ax25_std_state3_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int ns, int nr, int pf, int type) argument 226 if (ns == ax25->vr) { 230 ax25->vr = ns; /* ax25->vr - 1 */ 269 static int ax25_std_state4_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int ns, int nr, int pf, int type) argument 381 if (ns == ax25->vr) { 385 ax25->vr = ns; /* ax25->vr - 1 */ 424 int queued = 0, frametype, ns, nr, pf; local 426 frametype = ax25_decode(ax25, skb, &ns, &nr, &pf); 436 queued = ax25_std_state3_machine(ax25, skb, frametype, ns, nr, pf, type); 439 queued = ax25_std_state4_machine(ax25, skb, frametype, ns, n [all...] |
H A D | ax25_subr.c | 100 int ax25_decode(ax25_cb *ax25, struct sk_buff *skb, int *ns, int *nr, int *pf) argument 106 *ns = *nr = *pf = 0; 111 *ns = (frame[0] >> 1) & 0x07; 126 *ns = (frame[0] >> 1) & 0x7F;
|
/net/netrom/ |
H A D | nr_in.c | 155 unsigned short nr, ns; local 159 ns = skb->data[17]; 237 ns = skbn->data[17]; 238 if (ns == nrom->vr) { 245 } else if (nr_in_rx_window(sk, ns)) {
|
H A D | nr_subr.c | 102 * Check that ns is within the receive window. 104 int nr_in_rx_window(struct sock *sk, unsigned short ns) argument 111 if (ns == vc) return 1;
|
/net/rose/ |
H A D | rose_in.c | 104 static int rose_state3_machine(struct sock *sk, struct sk_buff *skb, int frametype, int ns, int nr, int q, int d, int m) argument 165 if (ns == rose->vr) { 266 int queued = 0, frametype, ns, nr, q, d, m; local 271 frametype = rose_decode(skb, &ns, &nr, &q, &d, &m); 281 queued = rose_state3_machine(sk, skb, frametype, ns, nr, q, d, m);
|
H A D | rose_subr.c | 201 int rose_decode(struct sk_buff *skb, int *ns, int *nr, int *q, int *d, int *m) argument 207 *ns = *nr = *q = *d = *m = 0; 232 *ns = (frame[2] >> 1) & 0x07;
|
/net/l2tp/ |
H A D | l2tp_core.c | 94 u32 ns; member in struct:l2tp_skb_cb 376 u32 ns = L2TP_SKB_CB(skb)->ns; local 380 if (L2TP_SKB_CB(skbp)->ns > ns) { 384 session->name, ns, L2TP_SKB_CB(skbp)->ns, 456 session->name, L2TP_SKB_CB(skb)->ns, 472 L2TP_SKB_CB(skb)->ns); 474 session->nr = L2TP_SKB_CB(skb)->ns; 611 u32 ns, nr; local [all...] |
H A D | l2tp_debugfs.c | 172 seq_printf(m, " nr %hu, ns %hu\n", session->nr, session->ns); 207 session->nr, session->ns, 235 seq_puts(m, " nr/ns tx-pkts/bytes/errs rx-pkts/bytes/errs\n");
|
H A D | l2tp_core.h | 103 u32 ns; /* session NR state (send) */ member in struct:l2tp_session
|
/net/x25/ |
H A D | x25_in.c | 202 static int x25_state3_machine(struct sock *sk, struct sk_buff *skb, int frametype, int ns, int nr, int q, int d, int m) argument 255 if ((ns != x25->vr) || !x25_validate_nr(sk, nr)) { 268 if (ns == x25->vr) { 382 int queued = 0, frametype, ns, nr, q, d, m; local 387 frametype = x25_decode(sk, skb, &ns, &nr, &q, &d, &m); 397 queued = x25_state3_machine(sk, skb, frametype, ns, nr, q, d, m);
|
H A D | x25_subr.c | 268 int x25_decode(struct sock *sk, struct sk_buff *skb, int *ns, int *nr, int *q, argument 278 *ns = *nr = *q = *d = *m = 0; 327 *ns = (frame[2] >> 1) & 0x7F; 336 *ns = (frame[2] >> 1) & 0x07;
|
/net/wireless/ |
H A D | radiotap.c | 167 if (iterator->_vns->ns[i].oui != oui) 169 if (iterator->_vns->ns[i].subns != subns) 172 iterator->current_namespace = &iterator->_vns->ns[i];
|
/net/lapb/ |
H A D | lapb_subr.c | 162 frame->ns = (skb->data[0] >> 1) & 0x7F; 196 frame->ns = (skb->data[0] >> 1) & 0x07;
|
H A D | lapb_in.c | 388 lapb->dev, frame->pf, frame->ns, frame->nr); 405 if (frame->ns == lapb->vr) {
|
/net/nfc/ |
H A D | llcp_core.c | 1017 u8 dsap, ssap, ptype, ns, nr; local 1022 ns = nfc_llcp_ns(skb); 1025 pr_debug("%d %d R %d S %d\n", dsap, ssap, nr, ns); 1044 if (ns == llcp_sock->recv_n) 1068 /* Remove and free all skbs until ns == nr */
|
/net/atm/ |
H A D | clip.c | 777 struct neigh_seq_state ns; member in struct:clip_seq_state 833 state->ns.neigh_sub_iter = clip_seq_sub_iter;
|
/net/irda/ |
H A D | irlap.c | 736 * Function irlap_validate_ns_received (ns) 738 * Validate the next to send (ns) field from received frame. 740 int irlap_validate_ns_received(struct irlap_cb *self, int ns) argument 742 /* ns as expected? */ 743 if (ns == self->vr) 769 * ns numbers of the frames in the current window wrap.
|