Searched refs:addattr16 (Results 1 - 3 of 3) sorted by relevance

/external/iproute2/ip/
H A Dipl2tp.c111 addattr16(&req.n, 1024, L2TP_ATTR_ENCAP_TYPE, p->encap);
116 addattr16(&req.n, 1024, L2TP_ATTR_UDP_SPORT, p->local_udp_port);
117 addattr16(&req.n, 1024, L2TP_ATTR_UDP_DPORT, p->peer_udp_port);
168 addattr16(&req.n, 1024, L2TP_ATTR_PW_TYPE, p->pw_type);
170 if (p->mtu) addattr16(&req.n, 1024, L2TP_ATTR_MTU, p->mtu);
177 if (p->offset) addattr16(&req.n, 1024, L2TP_ATTR_OFFSET, p->offset);
/external/iproute2/include/
H A Dlibnetlink.h49 extern int addattr16(struct nlmsghdr *n, int maxlen, int type, __u16 data);
/external/iproute2/lib/
H A Dlibnetlink.c533 int addattr16(struct nlmsghdr *n, int maxlen, int type, __u16 data) function

Completed in 304 milliseconds