Searched refs:snl_add_msg_attr (Results 1 – 7 of 7) sorted by relevance
/freebsd/sys/netlink/ |
H A D | netlink_snl_route.h | 133 return (snl_add_msg_attr(nw, attrtype, 4, addr)); in snl_add_msg_attr_ip4() 139 return (snl_add_msg_attr(nw, attrtype, 16, addr)); in snl_add_msg_attr_ip6() 150 return (snl_add_msg_attr(nw, attrtype, 4, addr)); in snl_add_msg_attr_ip() 153 return (snl_add_msg_attr(nw, attrtype, 16, addr)); in snl_add_msg_attr_ip() 169 return (snl_add_msg_attr(nw, attrtype, 5, buf)); in snl_add_msg_attr_ipvia() 172 return (snl_add_msg_attr(nw, attrtype, 17, buf)); in snl_add_msg_attr_ipvia()
|
H A D | netlink_snl.h | 1139 snl_add_msg_attr(struct snl_writer *nw, int attr_type, int attr_len, const void *data) in snl_add_msg_attr() function 1170 return (snl_add_msg_attr(nw, nla_src->nla_type, attr_len, (const void *)(nla_src + 1))); in snl_add_msg_attr_raw() 1176 return (snl_add_msg_attr(nw, attrtype, sizeof(bool), &value)); in snl_add_msg_attr_bool() 1182 return (snl_add_msg_attr(nw, attrtype, sizeof(uint8_t), &value)); in snl_add_msg_attr_u8() 1188 return (snl_add_msg_attr(nw, attrtype, sizeof(uint16_t), &value)); in snl_add_msg_attr_u16() 1194 return (snl_add_msg_attr(nw, attrtype, sizeof(uint32_t), &value)); in snl_add_msg_attr_u32() 1200 return (snl_add_msg_attr(nw, attrtype, sizeof(uint64_t), &value)); in snl_add_msg_attr_u64() 1206 return (snl_add_msg_attr(nw, attrtype, sizeof(int8_t), &value)); in snl_add_msg_attr_s8() 1212 return (snl_add_msg_attr(nw, attrtype, sizeof(int16_t), &value)); in snl_add_msg_attr_s16() 1218 return (snl_add_msg_attr(nw, attrtype, sizeof(int32_t), &value)); in snl_add_msg_attr_s32() [all …]
|
/freebsd/lib/libifconfig/ |
H A D | libifconfig_carp.c | 176 snl_add_msg_attr(&nw, CARP_NL_ADDR, sizeof(carpr->carpr_addr), in ifconfig_carp_set_info() 178 snl_add_msg_attr(&nw, CARP_NL_ADDR6, sizeof(carpr->carpr_addr6), in ifconfig_carp_set_info()
|
/freebsd/usr.sbin/arp/ |
H A D | arp_netlink.c | 411 snl_add_msg_attr(&nw, NDA_LLADDR, sdl->sdl_alen, LLADDR(sdl)); in set_nl()
|
/freebsd/usr.sbin/ndp/ |
H A D | ndp_netlink.c | 505 snl_add_msg_attr(&nw, NDA_LLADDR, sdl->sdl_alen, LLADDR(sdl)); in set_nl()
|
/freebsd/sbin/ifconfig/ |
H A D | af_inet6.c | 483 snl_add_msg_attr(&nw, IFA_CACHEINFO, sizeof(ci), &ci); in in6_exec_nl()
|
/freebsd/lib/libpfctl/ |
H A D | libpfctl.c | 1173 snl_add_msg_attr(nw, PF_PT_KEY, sizeof(pool->key), &pool->key); in snl_add_msg_attr_rpool()
|