Home
last modified time | relevance | path

Searched refs:RTA_DATA (Results 1 – 14 of 14) sorted by relevance

/linux-2.6.39/include/linux/
Drtnetlink.h153 #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/
Ddn_fib.c152 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()
Ddn_route.c1589 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()
Ddn_table.c244 nhp = RTA_DATA(rta->rta_mp); in dn_fib_nh_match()
/linux-2.6.39/crypto/
Dalgapi.c661 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()
Dauthenc.c74 param = RTA_DATA(rta); in crypto_authenc_setkey()
Dauthencesn.c78 param = RTA_DATA(rta); in crypto_authenc_esn_setkey()
/linux-2.6.39/net/ipv6/
Desp6.c536 param = RTA_DATA(rta); in esp_init_authenc()
/linux-2.6.39/net/ipv4/
Desp4.c590 param = RTA_DATA(rta); in esp_init_authenc()
Dinet_diag.c51 RTA_DATA(__RTA_PUT(skb, attrtype, attrlen))
/linux-2.6.39/net/core/
Drtnetlink.c526 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/
Dixp4xx_crypto.c1171 param = RTA_DATA(rta); in aead_setkey()
Dpicoxcell_crypto.c509 param = RTA_DATA(rta); in spacc_aead_setkey()
Dtalitos.c763 param = RTA_DATA(rta); in aead_setkey()