• Home
  • Raw
  • Download

Lines Matching refs:nb

230 	struct x25_neigh *nb;  in x25_device_event()  local
245 nb = x25_get_neigh(dev); in x25_device_event()
246 if (nb) { in x25_device_event()
247 x25_terminate_link(nb); in x25_device_event()
248 x25_neigh_put(nb); in x25_device_event()
323 static struct sock *__x25_find_socket(unsigned int lci, struct x25_neigh *nb) in __x25_find_socket() argument
328 if (x25_sk(s)->lci == lci && x25_sk(s)->neighbour == nb) { in __x25_find_socket()
337 struct sock *x25_find_socket(unsigned int lci, struct x25_neigh *nb) in x25_find_socket() argument
342 s = __x25_find_socket(lci, nb); in x25_find_socket()
350 static unsigned int x25_new_lci(struct x25_neigh *nb) in x25_new_lci() argument
357 while ((sk = __x25_find_socket(lci, nb)) != NULL) { in x25_new_lci()
920 int x25_rx_call_request(struct sk_buff *skb, struct x25_neigh *nb, in x25_rx_call_request() argument
991 x25_forward_call(&dest_addr, nb, skb, lci) > 0) in x25_rx_call_request()
1015 x25_limit_facilities(&facilities, nb); in x25_rx_call_request()
1036 makex25->neighbour = nb; in x25_rx_call_request()
1076 x25_transmit_clear_request(nb, lci, 0x01); in x25_rx_call_request()
1630 struct x25_neigh *nb; in compat_x25_subscr_ioctl() local
1643 nb = x25_get_neigh(dev); in compat_x25_subscr_ioctl()
1644 if (nb == NULL) in compat_x25_subscr_ioctl()
1651 x25_subscr.extended = nb->extended; in compat_x25_subscr_ioctl()
1652 x25_subscr.global_facil_mask = nb->global_facil_mask; in compat_x25_subscr_ioctl()
1661 nb->extended = x25_subscr.extended; in compat_x25_subscr_ioctl()
1662 nb->global_facil_mask = x25_subscr.global_facil_mask; in compat_x25_subscr_ioctl()
1666 x25_neigh_put(nb); in compat_x25_subscr_ioctl()
1781 void x25_kill_by_neigh(struct x25_neigh *nb) in x25_kill_by_neigh() argument
1788 if (x25_sk(s)->neighbour == nb) in x25_kill_by_neigh()
1794 x25_clear_forward_by_dev(nb->dev); in x25_kill_by_neigh()