Home
last modified time | relevance | path

Searched refs:primary_key (Results 1 – 12 of 12) sorted by relevance

/linux-2.4.37.9/include/net/
Datmclip.h19 #define NEIGH2ENTRY(neigh) ((struct atmarp_entry *) (neigh)->primary_key)
Dneighbour.h128 u8 primary_key[0]; member
/linux-2.4.37.9/net/sched/
Dsch_teql.c242 memcmp(n->primary_key, mn->primary_key, mn->tbl->key_len) == 0) { in __teql_resolve()
245 n = __neigh_lookup_errno(mn->tbl, mn->primary_key, dev); in __teql_resolve()
/linux-2.4.37.9/net/core/
Dneighbour.c343 unsigned int hash_val = tbl->hash(n->primary_key, n->dev); in neigh_hash_grow()
370 memcmp(n->primary_key, pkey, key_len) == 0) { in neigh_lookup()
390 if (!memcmp(n->primary_key, pkey, key_len)) { in neigh_lookup_nodev()
412 memcpy(n->primary_key, pkey, key_len); in neigh_create()
439 memcmp(n1->primary_key, pkey, key_len) == 0) { in neigh_create()
1488 RTA_PUT(skb, NDA_DST, n->tbl->key_len, n->primary_key); in neigh_fill_info()
/linux-2.4.37.9/net/ipv4/
Darp.c230 u32 addr = *(u32*)neigh->primary_key; in arp_constructor()
323 u32 target = *(u32*)neigh->primary_key; in arp_solicit()
1268 sprintf(tbuf, "%u.%u.%u.%u", NIPQUAD(*(u32*)n->primary_key)); in arp_format_neigh_entry()
Dip_gre.c719 addr6 = (struct in6_addr*)&neigh->primary_key; in ipgre_tunnel_xmit()
/linux-2.4.37.9/net/decnet/
Ddn_dev.c1148 … dn_db->router ? dn_addr2asc(dn_ntohs(*(dn_address *)dn_db->router->primary_key), router_buf) : "", in decnet_dev_get_info()
1149 dn_db->peer ? dn_addr2asc(dn_ntohs(*(dn_address *)dn_db->peer->primary_key), peer_buf) : ""); in decnet_dev_get_info()
/linux-2.4.37.9/net/ipv6/
Dndisc.c256 struct in6_addr *addr = (struct in6_addr*)&neigh->primary_key; in ndisc_constructor()
581 struct in6_addr *target = (struct in6_addr *)&neigh->primary_key; in ndisc_solicit()
Droute.c1016 ipv6_addr_copy(&nrt->rt6i_gateway, (struct in6_addr*)neigh->primary_key); in rt6_redirect()
1643 RTA_PUT(skb, RTA_GATEWAY, 16, &rt->u.dst.neighbour->primary_key); in rt6_fill_node()
1930 rt->rt6i_nexthop->primary_key[i]); in rt6_info_route()
Dip6_output.c787 target = (struct in6_addr*)&n->primary_key; in ip6_forward()
Dsit.c484 addr6 = (struct in6_addr*)&neigh->primary_key; in ipip6_tunnel_xmit()
/linux-2.4.37.9/drivers/s390/net/
Dqeth.c1838 *((__u32*)skb->dst->neighbour->primary_key); in qeth_fill_header()
1866 skb->dst->neighbour->primary_key,16); in qeth_fill_header()
7754 neigh->type = inet_addr_type(*(u32*)neigh->primary_key); in qeth_arp_constructor()
7760 sprintf(dbf_text,"%08x",ntohl(*((__u32*)(neigh->primary_key)))); in qeth_arp_constructor()