Searched refs:addattr16 (Results 1 – 3 of 3) sorted by relevance
/external/iproute2/ip/ |
D | ipl2tp.c | 111 addattr16(&req.n, 1024, L2TP_ATTR_ENCAP_TYPE, p->encap); in create_tunnel() 116 addattr16(&req.n, 1024, L2TP_ATTR_UDP_SPORT, p->local_udp_port); in create_tunnel() 117 addattr16(&req.n, 1024, L2TP_ATTR_UDP_DPORT, p->peer_udp_port); in create_tunnel() 168 addattr16(&req.n, 1024, L2TP_ATTR_PW_TYPE, p->pw_type); in create_session() 170 if (p->mtu) addattr16(&req.n, 1024, L2TP_ATTR_MTU, p->mtu); in create_session() 177 if (p->offset) addattr16(&req.n, 1024, L2TP_ATTR_OFFSET, p->offset); in create_session()
|
/external/iproute2/include/ |
D | libnetlink.h | 49 extern int addattr16(struct nlmsghdr *n, int maxlen, int type, __u16 data);
|
/external/iproute2/lib/ |
D | libnetlink.c | 533 int addattr16(struct nlmsghdr *n, int maxlen, int type, __u16 data) in addattr16() function
|