Home
last modified time | relevance | path

Searched refs:neighbour (Results 1 – 25 of 41) sorted by relevance

12

/net/x25/
Dx25_subr.c55 int modulus = x25->neighbour->extended ? X25_EMODULUS : X25_SMODULUS; in x25_frames_acked()
94 int modulus = x25->neighbour->extended ? X25_EMODULUS : X25_SMODULUS; in x25_validate_nr()
168 if (x25->neighbour->extended) { in x25_write_internal()
190 x25->neighbour->global_facil_mask); in x25_write_internal()
235 if (x25->neighbour->extended) { in x25_write_internal()
254 x25_transmit_link(skb, x25->neighbour); in x25_write_internal()
289 if (x25->neighbour->extended) { in x25_decode()
309 if (x25->neighbour->extended) { in x25_decode()
360 if (x25->neighbour) { in x25_disconnect()
362 x25_neigh_put(x25->neighbour); in x25_disconnect()
[all …]
Dx25_out.c54 int header_len = x25->neighbour->extended ? X25_EXT_MIN_LEN : in x25_output()
94 if (x25->neighbour->extended) in x25_output()
123 if (x25->neighbour->extended) { in x25_send_iframe()
133 x25_transmit_link(skb, x25->neighbour); in x25_send_iframe()
153 x25_transmit_link(skb, x25->neighbour); in x25_kick()
162 modulus = x25->neighbour->extended ? X25_EMODULUS : X25_SMODULUS; in x25_kick()
Daf_x25.c313 if (x25_sk(s)->lci == lci && x25_sk(s)->neighbour == nb) { in __x25_find_socket()
784 x25->neighbour = x25_get_neigh(rt->dev); in x25_connect()
785 if (!x25->neighbour) in x25_connect()
788 x25_limit_facilities(&x25->facilities, x25->neighbour); in x25_connect()
790 x25->lci = x25_new_lci(x25->neighbour); in x25_connect()
826 if (rc && x25->neighbour) { in x25_connect()
828 x25_neigh_put(x25->neighbour); in x25_connect()
829 x25->neighbour = NULL; in x25_connect()
1052 makex25->neighbour = nb; in x25_rx_call_request()
1129 if (!x25->neighbour) in x25_sendmsg()
[all …]
Dx25_proc.c94 if (!x25->neighbour || (dev = x25->neighbour->dev) == NULL) in x25_seq_socket_show()
97 devname = x25->neighbour->dev->name; in x25_seq_socket_show()
Dx25_in.c63 skb_pull(skbo, (x25->neighbour->extended) ? in x25_queue_rx_frame()
214 modulus = (x25->neighbour->extended) ? X25_EMODULUS : X25_SMODULUS; in x25_state3_machine()
/net/netrom/
Dnr_route.c128 if (nr_nodet->routes[i].neighbour == nr_neigh) in nr_add_node()
201 nr_node->routes[0].neighbour = nr_neigh; in nr_add_node()
220 if (nr_node->routes[i].neighbour == nr_neigh) { in nr_add_node()
236 nr_node->routes[0].neighbour = nr_neigh; in nr_add_node()
245 nr_node->routes[2].neighbour->count--; in nr_add_node()
246 nr_neigh_put(nr_node->routes[2].neighbour); in nr_add_node()
248 if (nr_node->routes[2].neighbour->count == 0 && !nr_node->routes[2].neighbour->locked) in nr_add_node()
249 nr_remove_neigh(nr_node->routes[2].neighbour); in nr_add_node()
253 nr_node->routes[2].neighbour = nr_neigh; in nr_add_node()
275 if (nr_node->routes[i].neighbour == nr_neigh) { in nr_add_node()
[all …]
/net/rose/
Drose_route.c77 if (ax25cmp(&rose_route->neighbour, in rose_add_node()
91 rose_neigh->callsign = rose_route->neighbour; in rose_add_node()
161 rose_node->neighbour[0] = rose_neigh; in rose_add_node()
187 rose_node->neighbour[rose_node->count] = rose_neigh; in rose_add_node()
318 if (ax25cmp(&rose_route->neighbour, in rose_del_node()
331 if (rose_node->neighbour[i] == rose_neigh) { in rose_del_node()
344 rose_node->neighbour[0] = in rose_del_node()
345 rose_node->neighbour[1]; in rose_del_node()
348 rose_node->neighbour[1] = in rose_del_node()
349 rose_node->neighbour[2]; in rose_del_node()
[all …]
Drose_in.c58 rose->neighbour->use--; in rose_state1_machine()
81 rose->neighbour->use--; in rose_state2_machine()
86 rose->neighbour->use--; in rose_state2_machine()
122 rose->neighbour->use--; in rose_state3_machine()
235 rose->neighbour->use--; in rose_state4_machine()
255 rose_sk(sk)->neighbour->use--; in rose_state5_machine()
Daf_rose.c170 if (rose->neighbour == neigh) { in rose_kill_by_neigh()
172 rose->neighbour->use--; in rose_kill_by_neigh()
173 rose->neighbour = NULL; in rose_kill_by_neigh()
213 if (rose->neighbour) in rose_kill_by_device()
214 rose->neighbour->use--; in rose_kill_by_device()
308 if (rose->lci == lci && rose->neighbour == neigh) in rose_find_socket()
657 rose->neighbour->use--; in rose_release()
806 rose->neighbour = rose_get_neigh(&addr->srose_addr, &cause, in rose_connect()
808 if (!rose->neighbour) { in rose_connect()
813 rose->lci = rose_new_lci(rose->neighbour); in rose_connect()
[all …]
Drose_out.c42 rose_transmit_link(skb, rose->neighbour); in rose_send_iframe()
Drose_timer.c174 rose->neighbour->use--; in rose_timer_expiry()
/net/core/
Dneighbour.c54 static void __neigh_notify(struct neighbour *n, int type, int flags,
56 static void neigh_update_notify(struct neighbour *neigh, u32 nlmsg_pid);
92 static int neigh_blackhole(struct neighbour *neigh, struct sk_buff *skb) in neigh_blackhole()
98 static void neigh_cleanup_and_release(struct neighbour *neigh) in neigh_cleanup_and_release()
118 static void neigh_mark_dead(struct neighbour *n) in neigh_mark_dead()
127 static void neigh_update_gc_list(struct neighbour *n) in neigh_update_gc_list()
158 static bool neigh_update_ext_learned(struct neighbour *neigh, u32 flags, in neigh_update_ext_learned()
180 static bool neigh_del(struct neighbour *n, struct neighbour __rcu **np, in neigh_del()
187 struct neighbour *neigh; in neigh_del()
201 bool neigh_remove_one(struct neighbour *ndel, struct neigh_table *tbl) in neigh_remove_one()
[all …]
DMakefile12 neighbour.o rtnetlink.o utils.o link_watch.o filter.o \
Ddst.c248 struct neighbour *dst_blackhole_neigh_lookup(const struct dst_entry *dst, in dst_blackhole_neigh_lookup()
/net/ipv4/
Darp.c123 static bool arp_key_eq(const struct neighbour *n, const void *pkey);
124 static int arp_constructor(struct neighbour *neigh);
125 static void arp_solicit(struct neighbour *neigh, struct sk_buff *skb);
126 static void arp_error_report(struct neighbour *neigh, struct sk_buff *skb);
217 static bool arp_key_eq(const struct neighbour *neigh, const void *pkey) in arp_key_eq()
222 static int arp_constructor(struct neighbour *neigh) in arp_constructor()
293 static void arp_error_report(struct neighbour *neigh, struct sk_buff *skb) in arp_error_report()
332 static void arp_solicit(struct neighbour *neigh, struct sk_buff *skb) in arp_solicit()
689 struct neighbour *n; in arp_process()
1028 struct neighbour *neigh; in arp_req_set()
[all …]
/net/atm/
Dclip.c121 static int neigh_check_cb(struct neighbour *n) in neigh_check_cb()
266 static void clip_neigh_solicit(struct neighbour *neigh, struct sk_buff *skb) in clip_neigh_solicit()
274 static void clip_neigh_error(struct neighbour *neigh, struct sk_buff *skb) in clip_neigh_error()
290 static int clip_constructor(struct net_device *dev, struct neighbour *neigh) in clip_constructor()
334 struct neighbour *n; in clip_start_xmit()
446 struct neighbour *neigh; in clip_setentry()
736 static void atmarp_info(struct seq_file *seq, struct neighbour *n, in atmarp_info()
826 struct neighbour *n, loff_t * pos) in clip_seq_sub_iter()
853 struct neighbour *n = v; in clip_seq_show()
DKconfig32 bool "Do NOT send ICMP if no neighbour"
35 Normally, an "ICMP host unreachable" message is sent if a neighbour
/net/6lowpan/
Dndisc.c56 static void lowpan_ndisc_802154_update(struct neighbour *n, u32 flags, in lowpan_ndisc_802154_update()
103 struct neighbour *n, u32 flags, u8 icmp6_type, in lowpan_ndisc_update()
115 u8 icmp6_type, struct neighbour *neigh, in lowpan_ndisc_opt_addr_space()
/net/ipv6/
Dndisc.c75 static bool ndisc_key_eq(const struct neighbour *neigh, const void *pkey);
78 static int ndisc_constructor(struct neighbour *neigh);
79 static void ndisc_solicit(struct neighbour *neigh, struct sk_buff *skb);
80 static void ndisc_error_report(struct neighbour *neigh, struct sk_buff *skb);
321 static bool ndisc_key_eq(const struct neighbour *n, const void *pkey) in ndisc_key_eq()
326 static int ndisc_constructor(struct neighbour *neigh) in ndisc_constructor()
707 static void ndisc_error_report(struct neighbour *neigh, struct sk_buff *skb) in ndisc_error_report()
719 static void ndisc_solicit(struct neighbour *neigh, struct sk_buff *skb) in ndisc_solicit()
762 void ndisc_update(const struct net_device *dev, struct neighbour *neigh, in ndisc_update()
783 struct neighbour *neigh; in ndisc_recv_ns()
[all …]
/net/bridge/
Dbr_arp_nd_proxy.c130 struct neighbour *n; in br_do_proxy_suppress_arp()
250 struct sk_buff *request, struct neighbour *n, in br_nd_send()
406 struct neighbour *n; in br_do_suppress_nd()
Dbr_nf_core.c40 static struct neighbour *fake_neigh_lookup(const struct dst_entry *dst, in fake_neigh_lookup()
/net/sched/
Dsch_teql.c222 struct neighbour *n; in __teql_resolve()
230 struct neighbour *mn; in __teql_resolve()
/net/ieee802154/6lowpan/
Dcore.c84 static int lowpan_neigh_construct(struct net_device *dev, struct neighbour *n) in lowpan_neigh_construct()
Dtx.c41 struct neighbour *n; in lowpan_header_create()
/net/ethernet/
Deth.c228 int eth_header_cache(const struct neighbour *neigh, struct hh_cache *hh, __be16 type) in eth_header_cache()

12