| /linux/include/net/ |
| H A D | neighbour.h | 42 struct neighbour; 77 int (*neigh_setup)(struct neighbour *); 140 struct neighbour { struct 162 int (*output)(struct neighbour *, struct sk_buff *); argument 174 void (*solicit)(struct neighbour *, struct sk_buff *); argument 175 void (*error_report)(struct neighbour *, struct sk_buff *); 176 int (*output)(struct neighbour *, struct sk_buff *); 177 int (*connected_output)(struct neighbour *, struct sk_buff *); 217 bool (*key_eq)(const struct neighbour *, const void *pkey); 218 int (*constructor)(struct neighbour *); [all …]
|
| H A D | ndisc.h | 190 void (*update)(const struct net_device *dev, struct neighbour *n, 194 struct neighbour *neigh, u8 *ha_buf, 221 struct neighbour *n, u32 flags, in ndisc_ops_update() 241 struct neighbour *neigh, in ndisc_ops_redirect_opt_addr_space() 317 struct neighbour *neigh, in ndisc_redirect_opt_addr_space() 355 static inline struct neighbour *__ipv6_neigh_lookup_noref(struct net_device *dev, const void *pkey) in __ipv6_neigh_lookup_noref() 360 static inline struct neighbour *__ipv6_neigh_lookup(struct net_device *dev, const void *pkey) in __ipv6_neigh_lookup() 362 struct neighbour *n; in __ipv6_neigh_lookup() 376 struct neighbour *n; in __ipv6_confirm_neigh() 384 static inline struct neighbour *ip_neigh_gw6(struct net_device *dev, in ip_neigh_gw6() [all …]
|
| H A D | arp.h | 22 static inline struct neighbour *__ipv4_neigh_lookup_noref(struct net_device *dev, u32 key) in __ipv4_neigh_lookup_noref() 31 struct neighbour *__ipv4_neigh_lookup_noref(struct net_device *dev, u32 key) in __ipv4_neigh_lookup_noref() 37 static inline struct neighbour *__ipv4_neigh_lookup(struct net_device *dev, u32 key) in __ipv4_neigh_lookup() 39 struct neighbour *n; in __ipv4_neigh_lookup() 52 struct neighbour *n; in __ipv4_confirm_neigh()
|
| H A D | netevent.h | 16 struct neighbour; 22 struct neighbour *neigh;
|
| H A D | route.h | 402 static inline struct neighbour *ip_neigh_gw4(struct net_device *dev, in ip_neigh_gw4() 405 struct neighbour *neigh; in ip_neigh_gw4() 414 static inline struct neighbour *ip_neigh_for_gw(struct rtable *rt, in ip_neigh_for_gw() 419 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 | 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()
|
| H A D | af_x25.c | 314 if (x25_sk(s)->lci == lci && x25_sk(s)->neighbour == nb) { in __x25_find_socket() 785 x25->neighbour = x25_get_neigh(rt->dev); in x25_connect() 786 if (!x25->neighbour) in x25_connect() 789 x25_limit_facilities(&x25->facilities, x25->neighbour); in x25_connect() 791 x25->lci = x25_new_lci(x25->neighbour); in x25_connect() 827 if (rc && x25->neighbour) { in x25_connect() 829 x25_neigh_put(x25->neighbour); in x25_connect() 830 x25->neighbour = NULL; in x25_connect() 1053 makex25->neighbour = nb; in x25_rx_call_request() 1130 if (!x25->neighbour) in x25_sendmsg() [all …]
|
| H A D | x25_in.c | 66 skb_pull(skbo, (x25->neighbour->extended) ? in x25_queue_rx_frame() 217 modulus = (x25->neighbour->extended) ? X25_EMODULUS : X25_SMODULUS; in x25_state3_machine()
|
| /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/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);
|
| H A D | cxgb3_offload.c | 66 static void cxgb_neigh_update(struct neighbour *neigh); 68 struct neighbour *neigh, const void *daddr); 488 static void dummy_neigh_update(struct t3cdev *dev, struct neighbour *neigh) in dummy_neigh_update() 928 cxgb_neigh_update((struct neighbour *)ctx); in nb_callback() 1034 static void cxgb_neigh_update(struct neighbour *neigh) in cxgb_neigh_update() 1072 struct neighbour *neigh, in cxgb_redirect()
|
| /linux/net/ipv4/ |
| H A D | arp.c | 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); 218 static bool arp_key_eq(const struct neighbour *neigh, const void *pkey) in arp_key_eq() 223 static int arp_constructor(struct neighbour *neigh) in arp_constructor() 294 static void arp_error_report(struct neighbour *neigh, struct sk_buff *skb) in arp_error_report() 333 static void arp_solicit(struct neighbour *neigh, struct sk_buff *skb) in arp_solicit() 714 struct neighbour *n; in arp_process() 1101 struct neighbour *neigh; in arp_req_set() [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/drivers/net/ethernet/marvell/prestera/ |
| H A D | prestera_router.c | 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() 432 struct neighbour *n) in prestera_neigh_iface_init() 684 struct neighbour *n; in __prestera_k_arb_n_offload_set() 789 struct neighbour *n; in __prestera_k_arb_nc_kern_n_fetch() 1033 struct neighbour *n; in __prestera_k_arb_hw_state_upd() 1102 struct neighbour *n) in prestera_k_arb_n_evt() 1470 struct neighbour *n; 1478 struct neighbour *n = net_work->n; in prestera_router_neigh_event_work() 1495 struct neighbour *n = ptr; in prestera_router_netevent_event()
|
| /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() 780 void ndisc_update(const struct net_device *dev, struct neighbour *neigh, in ndisc_update() 801 struct neighbour *neigh; in ndisc_recv_ns() [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> 130 struct neighbour *n; in br_do_proxy_suppress_arp() 255 struct sk_buff *request, struct neighbour *n, u8 *ha, in br_nd_send() 422 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()
|