| /linux/include/net/ |
| H A D | neighbour.h | 5 #include <linux/neighbour.h> 8 * Generic neighbour manipulation 17 * - Add neighbour cache statistics like rtstat 44 struct neighbour; 79 int (*neigh_setup)(struct neighbour *); 142 struct neighbour { 164 int (*output)(struct neighbour *, struct sk_buff *); 176 void (*solicit)(struct neighbour *, struct sk_buff *); 177 void (*error_report)(struct neighbour *, struct sk_buff *); 178 int (*output)(struct neighbour *, struc 140 struct neighbour { global() struct 162 outputneighbour global() argument 174 primary_keyneighbour global() argument [all...] |
| H A D | ndisc.h | 6 * ICMP codes for neighbour discovery messages 59 #include <net/neighbour.h> 144 * This structure defines the hooks for IPv6 neighbour discovery. 156 * void (*update)(const struct net_device *dev, struct neighbour *n, 159 * This function is called when IPv6 ndisc updates the neighbour cache 164 * struct neighbour *neigh, u8 *ha_buf, 199 void (*update)(const struct net_device *dev, struct neighbour *n, 203 struct neighbour *neigh, u8 *ha_buf, 230 struct neighbour *n, u32 flags, in ndisc_ops_opt_addr_space() 250 struct neighbour *neig in ndisc_ops_redirect_opt_addr_space() [all...] |
| H A D | arp.h | 8 #include <net/neighbour.h> 24 static inline struct neighbour *__ipv4_neigh_lookup_noref(struct net_device *dev, u32 key) in __ipv4_neigh_lookup_noref() 35 struct neighbour *__ipv4_neigh_lookup_noref(struct net_device *dev, u32 key) 41 static inline struct neighbour *__ipv4_neigh_lookup(struct net_device *dev, u32 key) in __ipv4_neigh_lookup() 43 struct neighbour *n; in __ipv4_neigh_lookup() 54 static inline struct neighbour *ipv4_neigh_lookup(struct net_device *dev, in __ipv4_confirm_neigh() 62 static inline struct neighbour *ipv4_neigh_create(struct net_device *dev, 72 struct neighbour *n;
|
| H A D | netevent.h | 16 struct neighbour; 22 struct neighbour *neigh;
|
| H A D | dst.h | 408 static inline struct neighbour *dst_neigh_lookup(const struct dst_entry *dst, const void *daddr) in dst_neigh_lookup() 410 struct neighbour *n = dst->ops->neigh_lookup(dst, NULL, daddr); in dst_neigh_lookup() 414 static inline struct neighbour *dst_neigh_lookup_skb(const struct dst_entry *dst, in dst_neigh_lookup_skb() 417 struct neighbour *n; in dst_neigh_lookup_skb() 617 struct neighbour *dst_blackhole_neigh_lookup(const struct dst_entry *dst,
|
| H A D | route.h | 69 /* Info on neighbour */ 408 static inline struct neighbour *ip_neigh_gw4(struct net_device *dev, in ip_neigh_gw4() 411 struct neighbour *neigh; in ip_neigh_gw4() 423 static inline struct neighbour *ip_neigh_for_gw(struct rtable *rt, in ip_neigh_for_gw() 428 struct neighbour *neigh; in ip_neigh_for_gw()
|
| H A D | dst_ops.h | 35 struct neighbour * (*neigh_lookup)(const struct dst_entry *dst,
|
| /linux/net/x25/ |
| H A D | x25_subr.c | 56 int modulus = x25->neighbour->extended ? X25_EMODULUS : X25_SMODULUS; in x25_frames_acked() 95 int modulus = x25->neighbour->extended ? X25_EMODULUS : X25_SMODULUS; in x25_validate_nr() 169 if (x25->neighbour->extended) { in x25_write_internal() 191 x25->neighbour->global_facil_mask); in x25_write_internal() 236 if (x25->neighbour->extended) { in x25_write_internal() 255 x25_transmit_link(skb, x25->neighbour); in x25_write_internal() 290 if (x25->neighbour->extended) { in x25_decode() 310 if (x25->neighbour->extended) { in x25_decode() 361 if (x25->neighbour) { in x25_disconnect() 363 x25_neigh_put(x25->neighbour); in x25_disconnect() [all …]
|
| H A D | x25_out.c | 54 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()
|
| H A D | af_x25.c | 307 * Find a connected X.25 socket given my LCI and neighbour. 314 if (x25_sk(s)->lci == lci && x25_sk(s)->neighbour == nb) { in __x25_find_socket() 782 x25->neighbour = x25_get_neigh(rt->dev); in x25_connect() 783 if (!x25->neighbour) in x25_connect() 786 x25_limit_facilities(&x25->facilities, x25->neighbour); in x25_connect() 788 x25->lci = x25_new_lci(x25->neighbour); in x25_connect() 824 if (rc && x25->neighbour) { in x25_connect() 826 x25_neigh_put(x25->neighbour); in x25_connect() 827 x25->neighbour = NULL; in x25_connect() 1024 * current neighbour/lin in x25_rx_call_request() [all...] |
| H A D | x25_proc.c | 93 if (!x25->neighbour || !x25->neighbour->dev) in x25_seq_socket_show() 96 devname = x25->neighbour->dev->name; in x25_seq_socket_show()
|
| /linux/include/trace/events/ |
| H A D | neigh.h | 10 #include <net/neighbour.h> 26 const void *pkey, const struct neighbour *n, 74 TP_PROTO(struct neighbour *n, const u8 *lladdr, u8 new, 157 TP_PROTO(struct neighbour *n, int err), 228 TP_PROTO(struct neighbour *neigh, int err), 233 TP_PROTO(struct neighbour *neigh, int err), 238 TP_PROTO(struct neighbour *neigh, int err), 243 TP_PROTO(struct neighbour *neigh, int err), 248 TP_PROTO(struct neighbour *neigh, int rc),
|
| /linux/net/core/ |
| H A D | neighbour.c | 11 * Harald Welte Add neighbour cache statistics like rtstat 28 #include <net/neighbour.h> 54 static void neigh_notify(struct neighbour *n, int type, int flags, u32 pid); 55 static void __neigh_notify(struct neighbour *n, int type, int flags, u32 pid); 105 It will result in deadlocks, if backend/driver wants to use neighbour 124 not make callbacks to neighbour tables. 127 static int neigh_blackhole(struct neighbour *neigh, struct sk_buff *skb) 133 static void neigh_cleanup_and_release(struct neighbour *neigh) in neigh_rand_reach_time() 152 static void neigh_mark_dead(struct neighbour *n) in neigh_update_gc_list() 165 static void neigh_update_gc_list(struct neighbour * in neigh_update_gc_list() 3160 neigh_for_each(struct neigh_table * tbl,void (* cb)(struct neighbour *,void *),void * cookie) neigh_for_each() argument 3182 __neigh_for_each_release(struct neigh_table * tbl,int (* cb)(struct neighbour *)) __neigh_for_each_release() argument [all...] |
| /linux/drivers/net/ethernet/chelsio/cxgb3/ |
| H A D | l2t.h | 46 struct neighbour; 64 struct neighbour *neigh; /* associated neighbour */ 111 void t3_l2t_update(struct t3cdev *dev, struct neighbour *neigh);
|
| H A D | l2t.c | 74 static inline void neigh_replace(struct l2t_entry *e, struct neighbour *n) in neigh_replace() 246 static inline void reuse_entry(struct l2t_entry *e, struct neighbour *neigh) in reuse_entry() 269 struct neighbour *neigh; in t3_l2t_get() 362 void t3_l2t_update(struct t3cdev *dev, struct neighbour *neigh) in t3_l2t_update()
|
| H A D | t3cdev.h | 61 void (*neigh_update)(struct t3cdev *dev, struct neighbour *neigh);
|
| /linux/net/ipv4/ |
| H A D | arp.c | 61 * now it is in net/core/neighbour.c. 120 * Interface to generic neighbour cache. 123 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) 222 static int arp_constructor(struct neighbour *neigh) 297 static void arp_error_report(struct neighbour *neigh, struct sk_buff *skb) in arp_error_report() 336 static void arp_solicit(struct neighbour *neig in arp_solicit() [all...] |
| /linux/net/6lowpan/ |
| H A D | ndisc.c | 50 static void lowpan_ndisc_802154_update(struct neighbour *n, u32 flags, in lowpan_ndisc_802154_update() 95 struct neighbour *n, u32 flags, u8 icmp6_type, in lowpan_ndisc_update() 107 u8 icmp6_type, struct neighbour *neigh, in lowpan_ndisc_opt_addr_space()
|
| /linux/drivers/net/ethernet/rocker/ |
| H A D | rocker.h | 127 struct neighbour *n); 129 struct neighbour *n);
|
| /linux/net/ipv6/ |
| H A D | ndisc.c | 75 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() 728 static void ndisc_error_report(struct neighbour *neigh, struct sk_buff *skb) in ndisc_error_report() 740 static void ndisc_solicit(struct neighbour *neigh, struct sk_buff *skb) in ndisc_solicit() 781 void ndisc_update(const struct net_device *dev, struct neighbour *neigh, in ndisc_update() 786 /* report ndisc ops about neighbour updat in ndisc_update() [all...] |
| /linux/drivers/net/ethernet/marvell/prestera/ |
| H A D | prestera_router.c | 33 /* Indicate if neighbour is reachable by direct route */ 151 prestera_util_neigh2nc_key(struct prestera_switch *sw, struct neighbour *n, in prestera_util_neigh2nc_key() 294 static void prestera_util_kern_set_neigh_offload(struct neighbour *n, in prestera_util_kern_set_neigh_offload() 390 /* Decided, that uc_nh route with key==nh is obviously neighbour route */ 432 struct neighbour *n) in prestera_neigh_iface_init() 684 struct neighbour *n; in __prestera_k_arb_n_offload_set() 737 /* But better to use tb_id of route, which pointed to this neighbour. */ in __prestera_k_arb_n_lpm_set() 783 /* Kernel neighbour -> neigh_cache info */ 788 struct neighbour *n; in __prestera_k_arb_nc_kern_n_fetch() 872 * place for neighbour entr in __prestera_pr_k_arb_fc_lpm_info_calc() [all...] |
| /linux/drivers/net/ |
| H A D | loopback.c | 248 static int blackhole_neigh_output(struct neighbour *n, struct sk_buff *skb) in blackhole_neigh_output() 255 struct neighbour *n) in blackhole_neigh_construct()
|
| /linux/net/bridge/ |
| H A D | br_nf_core.c | 40 static struct neighbour *fake_neigh_lookup(const struct dst_entry *dst, in fake_neigh_lookup()
|
| H A D | br_arp_nd_proxy.c | 15 #include <linux/neighbour.h> 147 struct neighbour *n; in br_do_proxy_suppress_arp() 272 struct sk_buff *request, struct neighbour *n, u8 *ha, in br_nd_send() 439 struct neighbour *n; in br_do_suppress_nd()
|
| /linux/drivers/net/ethernet/chelsio/cxgb4/ |
| H A D | l2t.c | 126 static void neigh_replace(struct l2t_entry *e, struct neighbour *n) in neigh_replace() 397 static void reuse_entry(struct l2t_entry *e, struct neighbour *neigh) in reuse_entry() 415 struct l2t_entry *cxgb4_l2t_get(struct l2t_data *d, struct neighbour *neigh, in cxgb4_l2t_get() 509 void t4_l2t_update(struct adapter *adap, struct neighbour *neigh) in t4_l2t_update()
|