Searched refs:neigh (Results 1 - 25 of 40) sorted by relevance

12

/asus-wl-520gu-7.0.1.45/src/linux/linux/net/rose/
H A Drose_link.c43 void rose_start_ftimer(struct rose_neigh *neigh) argument
45 del_timer(&neigh->ftimer);
47 neigh->ftimer.data = (unsigned long)neigh;
48 neigh->ftimer.function = &rose_ftimer_expiry;
49 neigh->ftimer.expires = jiffies + sysctl_rose_link_fail_timeout;
51 add_timer(&neigh->ftimer);
54 void rose_start_t0timer(struct rose_neigh *neigh) argument
56 del_timer(&neigh->t0timer);
58 neigh
65 rose_stop_ftimer(struct rose_neigh *neigh) argument
70 rose_stop_t0timer(struct rose_neigh *neigh) argument
75 rose_ftimer_running(struct rose_neigh *neigh) argument
80 rose_t0timer_running(struct rose_neigh *neigh) argument
91 struct rose_neigh *neigh = (struct rose_neigh *)param; local
105 rose_send_frame(struct sk_buff *skb, struct rose_neigh *neigh) argument
124 rose_link_up(struct rose_neigh *neigh) argument
141 rose_link_rx_restart(struct sk_buff *skb, struct rose_neigh *neigh, unsigned short frametype) argument
177 rose_transmit_restart_request(struct rose_neigh *neigh) argument
206 rose_transmit_restart_confirmation(struct rose_neigh *neigh) argument
233 rose_transmit_diagnostic(struct rose_neigh *neigh, unsigned char diag) argument
262 rose_transmit_clear_request(struct rose_neigh *neigh, unsigned int lci, unsigned char cause, unsigned char diagnostic) argument
309 rose_transmit_link(struct sk_buff *skb, struct rose_neigh *neigh) argument
[all...]
H A Drose_loopback.c42 int rose_loopback_queue(struct sk_buff *skb, struct rose_neigh *neigh) argument
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/x25/
H A Dx25_link.c53 static void x25_start_t20timer(struct x25_neigh *neigh) argument
55 del_timer(&neigh->t20timer);
57 neigh->t20timer.data = (unsigned long)neigh;
58 neigh->t20timer.function = &x25_t20timer_expiry;
59 neigh->t20timer.expires = jiffies + neigh->t20;
61 add_timer(&neigh->t20timer);
66 struct x25_neigh *neigh = (struct x25_neigh *)param; local
68 x25_transmit_restart_request(neigh);
73 x25_stop_t20timer(struct x25_neigh *neigh) argument
78 x25_t20timer_pending(struct x25_neigh *neigh) argument
86 x25_link_control(struct sk_buff *skb, struct x25_neigh *neigh, unsigned short frametype) argument
122 x25_transmit_restart_request(struct x25_neigh *neigh) argument
151 x25_transmit_restart_confirmation(struct x25_neigh *neigh) argument
178 x25_transmit_diagnostic(struct x25_neigh *neigh, unsigned char diag) argument
207 x25_transmit_clear_request(struct x25_neigh *neigh, unsigned int lci, unsigned char cause) argument
233 x25_transmit_link(struct sk_buff *skb, struct x25_neigh *neigh) argument
254 x25_link_established(struct x25_neigh *neigh) argument
273 x25_link_terminated(struct x25_neigh *neigh) argument
345 struct x25_neigh *neigh, *x25_neigh = x25_neigh_list; local
428 struct x25_neigh *neigh, *x25_neigh = x25_neigh_list; local
[all...]
H A Dx25_dev.c48 static int x25_receive_data(struct sk_buff *skb, struct x25_neigh *neigh) argument
62 x25_link_control(skb, neigh, frametype);
69 if ((sk = x25_find_socket(lci, neigh)) != NULL) {
87 return x25_rx_call_request(skb, neigh, lci);
94 x25_transmit_clear_request(neigh, lci, 0x0D);
103 struct x25_neigh *neigh; local
111 if ((neigh = x25_get_neigh(dev)) == NULL) {
120 queued = x25_receive_data(skb, neigh);
129 x25_link_established(neigh);
134 x25_link_terminated(neigh);
150 struct x25_neigh *neigh; local
166 x25_establish_link(struct x25_neigh *neigh) argument
195 x25_terminate_link(struct x25_neigh *neigh) argument
224 x25_send_frame(struct sk_buff *skb, struct x25_neigh *neigh) argument
[all...]
H A Daf_x25.c196 struct x25_neigh *neigh; local
208 if ((neigh = x25_get_neigh(dev)))
209 x25_terminate_link(neigh);
266 struct sock *x25_find_socket(unsigned int lci, struct x25_neigh *neigh) argument
275 if (s->protinfo.x25->lci == lci && s->protinfo.x25->neighbour == neigh) {
288 unsigned int x25_new_lci(struct x25_neigh *neigh) argument
292 while (x25_find_socket(lci, neigh) != NULL) {
762 int x25_rx_call_request(struct sk_buff *skb, struct x25_neigh *neigh, unsigned int lci) argument
790 x25_transmit_clear_request(neigh, lci, 0x01);
798 x25_transmit_clear_request(neigh, lc
1300 x25_kill_by_neigh(struct x25_neigh *neigh) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/decnet/
H A Ddn_neigh.c130 static int dn_neigh_construct(struct neighbour *neigh) argument
132 struct net_device *dev = neigh->dev;
133 struct dn_neigh *dn = (struct dn_neigh *)neigh;
140 neigh->parms = dn_db->neigh_parms;
143 neigh->ops = &dn_long_ops;
145 neigh->ops = &dn_short_ops;
148 neigh->ops = &dn_phase3_ops;
150 neigh->nud_state = NUD_NOARP;
151 neigh->output = neigh
168 dn_long_error_report(struct neighbour *neigh, struct sk_buff *skb) argument
175 dn_short_error_report(struct neighbour *neigh, struct sk_buff *skb) argument
184 struct neighbour *neigh = dst->neighbour; local
200 struct neighbour *neigh = dst->neighbour; local
246 struct neighbour *neigh = dst->neighbour; local
289 struct neighbour *neigh = dst->neighbour; local
332 struct neighbour *neigh; local
375 struct neighbour *neigh; local
433 struct neighbour *neigh; local
491 struct neighbour *neigh; local
[all...]
H A Ddn_route.c606 struct neighbour *neigh; local
610 if ((neigh = dst->neighbour) == NULL)
627 return NF_HOOK(PF_DECnet, NF_DN_LOCAL_OUT, skb, NULL, dev, neigh->output);
643 struct neighbour *neigh; local
647 if ((neigh = dst->neighbour) == NULL)
669 return NF_HOOK(PF_DECnet, NF_DN_FORWARD, skb, dev, skb->dev, neigh->output);
715 struct neighbour *neigh = NULL; local
740 neigh = __neigh_lookup(&dn_neigh_table, &DN_FIB_RES_GW(res), DN_FIB_RES_DEV(res), 1);
742 if (!neigh)
764 if ((neigh
854 struct neighbour *neigh = NULL; local
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/core/
H A Dneighbour.c70 - with rwlock neigh->lock
74 neigh->lock mainly serializes ll address data and its validity state.
79 Again, nothing clever shall be made under neigh->lock,
209 NEIGH_PRINTK2("neigh %p is stray.\n", n);
331 NEIGH_PRINTK2("neigh %p is created.\n", n);
433 void neigh_destroy(struct neighbour *neigh) argument
437 if (!neigh->dead) {
438 printk("Destroying alive neighbour %p from %08lx\n", neigh,
439 *(((unsigned long*)&neigh)-1));
443 if (neigh_del_timer(neigh))
475 neigh_suspect(struct neighbour *neigh) argument
492 neigh_connect(struct neighbour *neigh) argument
622 struct neighbour *neigh = (struct neighbour*)arg; local
689 __neigh_event_send(struct neighbour *neigh, struct sk_buff *skb) argument
738 neigh_update_hhs(struct neighbour *neigh) argument
764 neigh_update(struct neighbour *neigh, const u8 *lladdr, u8 new, int override, int arp) argument
876 struct neighbour *neigh; local
942 struct neighbour *neigh; local
982 struct neighbour *neigh = dst->neighbour; local
[all...]
H A Ddst.c146 struct neighbour *neigh = dst->neighbour; local
153 if (neigh) {
155 neigh_release(neigh);
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/net/
H A Dneighbour.h180 extern void neigh_destroy(struct neighbour *neigh);
181 extern int __neigh_event_send(struct neighbour *neigh, struct sk_buff *skb);
182 extern int neigh_update(struct neighbour *neigh, const u8 *lladdr, u8 new, int override, int arp);
215 static inline void neigh_release(struct neighbour *neigh) argument
217 if (atomic_dec_and_test(&neigh->refcnt))
218 neigh_destroy(neigh);
221 static inline struct neighbour * neigh_clone(struct neighbour *neigh) argument
223 if (neigh)
224 atomic_inc(&neigh->refcnt);
225 return neigh;
230 neigh_confirm(struct neighbour *neigh) argument
236 neigh_is_connected(struct neighbour *neigh) argument
241 neigh_is_valid(struct neighbour *neigh) argument
246 neigh_event_send(struct neighbour *neigh, struct sk_buff *skb) argument
[all...]
H A Datmclip.h19 #define NEIGH2ENTRY(neigh) ((struct atmarp_entry *) (neigh)->primary_key)
43 struct neighbour *neigh; /* neighbour back-pointer */ member in struct:atmarp_entry
H A Dndisc.h81 struct neighbour *neigh,
94 struct neighbour *neigh,
H A Dip6_route.h72 struct neighbour *neigh,
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/net/
H A Dneighbour.h180 extern void neigh_destroy(struct neighbour *neigh);
181 extern int __neigh_event_send(struct neighbour *neigh, struct sk_buff *skb);
182 extern int neigh_update(struct neighbour *neigh, const u8 *lladdr, u8 new, int override, int arp);
215 static inline void neigh_release(struct neighbour *neigh) argument
217 if (atomic_dec_and_test(&neigh->refcnt))
218 neigh_destroy(neigh);
221 static inline struct neighbour * neigh_clone(struct neighbour *neigh) argument
223 if (neigh)
224 atomic_inc(&neigh->refcnt);
225 return neigh;
230 neigh_confirm(struct neighbour *neigh) argument
236 neigh_is_connected(struct neighbour *neigh) argument
241 neigh_is_valid(struct neighbour *neigh) argument
246 neigh_event_send(struct neighbour *neigh, struct sk_buff *skb) argument
[all...]
H A Datmclip.h19 #define NEIGH2ENTRY(neigh) ((struct atmarp_entry *) (neigh)->primary_key)
43 struct neighbour *neigh; /* neighbour back-pointer */ member in struct:atmarp_entry
H A Dndisc.h81 struct neighbour *neigh,
94 struct neighbour *neigh,
H A Dip6_route.h72 struct neighbour *neigh,
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/ipv6/
H A Dndisc.c81 static int ndisc_constructor(struct neighbour *neigh);
82 static void ndisc_solicit(struct neighbour *neigh, struct sk_buff *skb);
83 static void ndisc_error_report(struct neighbour *neigh, struct sk_buff *skb);
252 static int ndisc_constructor(struct neighbour *neigh) argument
254 struct in6_addr *addr = (struct in6_addr*)&neigh->primary_key;
255 struct net_device *dev = neigh->dev;
264 neigh->parms = in6_dev->nd_parms;
267 neigh->type = RTN_MULTICAST;
269 neigh->type = RTN_UNICAST;
271 neigh
328 ndisc_build_ll_hdr(struct sk_buff *skb, struct net_device *dev, struct in6_addr *daddr, struct neighbour *neigh, int len) argument
372 ndisc_send_na(struct net_device *dev, struct neighbour *neigh, struct in6_addr *daddr, struct in6_addr *solicited_addr, int router, int solicited, int override, int inc_opt) argument
435 ndisc_send_ns(struct net_device *dev, struct neighbour *neigh, struct in6_addr *solicit, struct in6_addr *daddr, struct in6_addr *saddr) argument
549 ndisc_error_report(struct neighbour *neigh, struct sk_buff *skb) argument
561 ndisc_solicit(struct neighbour *neigh, struct sk_buff *skb) argument
589 struct neighbour *neigh; local
780 struct neighbour *neigh; local
865 ndisc_send_redirect(struct sk_buff *skb, struct neighbour *neigh, struct in6_addr *target) argument
993 struct neighbour *neigh; local
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/ipv4/
H A Darp.c121 static int arp_constructor(struct neighbour *neigh);
122 static void arp_solicit(struct neighbour *neigh, struct sk_buff *skb);
123 static void arp_error_report(struct neighbour *neigh, struct sk_buff *skb);
227 static int arp_constructor(struct neighbour *neigh) argument
229 u32 addr = *(u32*)neigh->primary_key;
230 struct net_device *dev = neigh->dev;
236 neigh->type = inet_addr_type(addr);
238 neigh->parms = in_dev->arp_parms;
243 neigh->nud_state = NUD_NOARP;
244 neigh
309 arp_error_report(struct neighbour *neigh, struct sk_buff *skb) argument
315 arp_solicit(struct neighbour *neigh, struct sk_buff *skb) argument
888 struct neighbour *neigh; local
943 arp_state_to_flags(struct neighbour *neigh) argument
960 struct neighbour *neigh; local
981 struct neighbour *neigh; local
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/atm/
H A Dclip.c70 DPRINTK("link_vcc %p to entry %p (neigh %p)\n",clip_vcc,entry,
71 entry->neigh);
76 entry->neigh->used = jiffies;
89 entry->neigh->used = jiffies;
97 netif_wake_queue(entry->neigh->dev);
101 error = neigh_update(entry->neigh,NULL,NUD_NONE,0,0);
154 DPRINTK("expired neigh %p\n",n);
194 skb->dev = clip_vcc->entry ? clip_vcc->entry->neigh->dev : clip_devs;
247 static void clip_neigh_destroy(struct neighbour *neigh) argument
249 DPRINTK("clip_neigh_destroy (neigh
256 clip_neigh_solicit(struct neighbour *neigh,struct sk_buff *skb) argument
263 clip_neigh_error(struct neighbour *neigh,struct sk_buff *skb) argument
284 clip_constructor(struct neighbour *neigh) argument
496 struct neighbour *neigh; local
[all...]
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/linux/
H A Detherdevice.h37 extern int eth_header_cache(struct neighbour *neigh,
H A Dif_shaper.h38 int (*hard_header_cache)(struct neighbour *neigh, struct hh_cache *hh);
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/linux/
H A Detherdevice.h37 extern int eth_header_cache(struct neighbour *neigh,
H A Dif_shaper.h38 int (*hard_header_cache)(struct neighbour *neigh, struct hh_cache *hh);
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/ethernet/
H A Deth.c124 * This routine CANNOT use cached dst->neigh!
125 * Really, it is used only when dst->neigh is wrong.
216 int eth_header_cache(struct neighbour *neigh, struct hh_cache *hh) argument
220 struct net_device *dev = neigh->dev;
227 memcpy(eth->h_dest, neigh->ha, dev->addr_len);

Completed in 277 milliseconds

12