Searched refs:RTA_DATA (Results 1 – 14 of 14) sorted by relevance
/linux-2.6.39/include/linux/ |
D | rtnetlink.h | 153 #define RTA_DATA(rta) ((void*)(((char*)(rta)) + RTA_LENGTH(0))) macro 613 return len > rta->rta_len || memcmp(RTA_DATA(rta), str, len); in rtattr_strcmp() 700 *(u8 *) RTA_DATA(rta); }) 705 *(u16 *) RTA_DATA(rta); }) 710 *(u32 *) RTA_DATA(rta); }) 716 memcpy(&_tmp, RTA_DATA(rta), sizeof(_tmp)); \ 733 memset(RTA_DATA(rta) + attrlen, 0, RTA_ALIGN(size) - size); in __rta_reserve()
|
/linux-2.6.39/net/decnet/ |
D | dn_fib.c | 152 return *(__le16*)RTA_DATA(attr); in dn_fib_get_attr16() 162 struct rtnexthop *nhp = RTA_DATA(rta); in dn_fib_count_nhs() 177 struct rtnexthop *nhp = RTA_DATA(rta); in dn_fib_get_nhs() 302 struct rtattr *attr = RTA_DATA(rta->rta_mx); in dn_fib_create_info() 309 fi->fib_metrics[flavour-1] = *(unsigned*)RTA_DATA(attr); in dn_fib_create_info() 500 rta[i-1] = (struct rtattr *)RTA_DATA(attr); in dn_fib_check_attr()
|
D | dn_route.c | 1589 memcpy(&fld.saddr, RTA_DATA(rta[RTA_SRC-1]), 2); in dn_cache_getroute() 1591 memcpy(&fld.daddr, RTA_DATA(rta[RTA_DST-1]), 2); in dn_cache_getroute() 1593 memcpy(&fld.flowidn_iif, RTA_DATA(rta[RTA_IIF-1]), sizeof(int)); in dn_cache_getroute() 1620 memcpy(&oif, RTA_DATA(rta[RTA_OIF - 1]), sizeof(int)); in dn_cache_getroute()
|
D | dn_table.c | 244 nhp = RTA_DATA(rta->rta_mp); in dn_fib_nh_match()
|
/linux-2.6.39/crypto/ |
D | algapi.c | 661 algt = RTA_DATA(rta); in crypto_get_attr_type() 693 alga = RTA_DATA(rta); in crypto_attr_alg_name() 727 nu32 = RTA_DATA(rta); in crypto_attr_u32()
|
D | authenc.c | 74 param = RTA_DATA(rta); in crypto_authenc_setkey()
|
D | authencesn.c | 78 param = RTA_DATA(rta); in crypto_authenc_esn_setkey()
|
/linux-2.6.39/net/ipv6/ |
D | esp6.c | 536 param = RTA_DATA(rta); in esp_init_authenc()
|
/linux-2.6.39/net/ipv4/ |
D | esp4.c | 590 param = RTA_DATA(rta); in esp_init_authenc()
|
D | inet_diag.c | 51 RTA_DATA(__RTA_PUT(skb, attrtype, attrlen))
|
/linux-2.6.39/net/core/ |
D | rtnetlink.c | 526 memcpy(RTA_DATA(rta), data, attrlen); in __rta_fill() 527 memset(RTA_DATA(rta) + attrlen, 0, RTA_ALIGN(size) - size); in __rta_fill()
|
/linux-2.6.39/drivers/crypto/ |
D | ixp4xx_crypto.c | 1171 param = RTA_DATA(rta); in aead_setkey()
|
D | picoxcell_crypto.c | 509 param = RTA_DATA(rta); in spacc_aead_setkey()
|
D | talitos.c | 763 param = RTA_DATA(rta); in aead_setkey()
|