Home
last modified time | relevance | path

Searched refs:pmtudisc (Results 1 – 11 of 11) sorted by relevance

/external/libnl/lib/route/link/
Dipip.c46 uint8_t pmtudisc; member
124 ipip->pmtudisc = nla_get_u8(tb[IFLA_IPTUN_PMTUDISC]); in ipip_parse()
159 NLA_PUT_U8(msg, IFLA_IPTUN_PMTUDISC, ipip->pmtudisc); in ipip_put_attrs()
228 nl_dump_line(p, "enabled (%#x)\n", ipip->pmtudisc); in ipip_dump_details()
504 int rtnl_link_ipip_set_pmtudisc(struct rtnl_link *link, uint8_t pmtudisc) in rtnl_link_ipip_set_pmtudisc() argument
510 ipip->pmtudisc = pmtudisc; in rtnl_link_ipip_set_pmtudisc()
528 return ipip->pmtudisc; in rtnl_link_ipip_get_pmtudisc()
Dipgre.c50 uint8_t pmtudisc; member
156 ipgre->pmtudisc = nla_get_u8(tb[IFLA_GRE_PMTUDISC]); in ipgre_parse()
203 NLA_PUT_U8(msg, IFLA_GRE_PMTUDISC, ipgre->pmtudisc); in ipgre_put_attrs()
293 nl_dump_line(p, "enabled (%#x)\n", ipgre->pmtudisc); in ipgre_dump_details()
794 int rtnl_link_ipgre_set_pmtudisc(struct rtnl_link *link, uint8_t pmtudisc) in rtnl_link_ipgre_set_pmtudisc() argument
800 ipgre->pmtudisc = pmtudisc; in rtnl_link_ipgre_set_pmtudisc()
818 return ipgre->pmtudisc; in rtnl_link_ipgre_get_pmtudisc()
Dsit.c52 uint8_t pmtudisc; member
142 sit->pmtudisc = nla_get_u8(tb[IFLA_IPTUN_PMTUDISC]); in sit_parse()
208 NLA_PUT_U8(msg, IFLA_IPTUN_PMTUDISC, sit->pmtudisc); in sit_put_attrs()
588 int rtnl_link_sit_set_pmtudisc(struct rtnl_link *link, uint8_t pmtudisc) in rtnl_link_sit_set_pmtudisc() argument
592 sit->pmtudisc = pmtudisc; in rtnl_link_sit_set_pmtudisc()
608 return sit->pmtudisc; in rtnl_link_sit_get_pmtudisc()
/external/iproute2/ip/
Dlink_iptnl.c96 __u8 pmtudisc = 1; in iptunnel_parse_opt() local
149 pmtudisc = in iptunnel_parse_opt()
232 pmtudisc = 0; in iptunnel_parse_opt()
234 pmtudisc = 1; in iptunnel_parse_opt()
340 if (ttl && pmtudisc == 0) { in iptunnel_parse_opt()
355 addattr8(n, 1024, IFLA_IPTUN_PMTUDISC, pmtudisc); in iptunnel_parse_opt()
Dlink_gre.c89 __u8 pmtudisc = 1; in gre_parse_opt() local
147 pmtudisc = rta_getattr_u8( in gre_parse_opt()
246 pmtudisc = 0; in gre_parse_opt()
248 pmtudisc = 1; in gre_parse_opt()
367 addattr_l(n, 1024, IFLA_GRE_PMTUDISC, &pmtudisc, 1); in gre_parse_opt()
/external/iputils/
Dping.c115 int pmtudisc = -1; variable
221 pmtudisc = IP_PMTUDISC_DO; in main()
223 pmtudisc = IP_PMTUDISC_DONT; in main()
225 pmtudisc = IP_PMTUDISC_WANT; in main()
448 if (pmtudisc >= 0 && pmtudisc != IP_PMTUDISC_DO) { in main()
453 if (pmtudisc < 0) in main()
454 pmtudisc = IP_PMTUDISC_DO; in main()
457 if (pmtudisc >= 0) { in main()
458 if (setsockopt(icmp_sock, SOL_IP, IP_MTU_DISCOVER, &pmtudisc, sizeof(pmtudisc)) == -1) { in main()
Dping6.c170 int pmtudisc=-1; variable
787 pmtudisc = IPV6_PMTUDISC_DO; in main()
789 pmtudisc = IPV6_PMTUDISC_DONT; in main()
791 pmtudisc = IPV6_PMTUDISC_WANT; in main()
1068 if (pmtudisc >= 0 && pmtudisc != IPV6_PMTUDISC_DO) { in main()
1073 if (pmtudisc < 0) in main()
1074 pmtudisc = IPV6_PMTUDISC_DO; in main()
1077 if (pmtudisc >= 0) { in main()
1078 if (setsockopt(icmp_sock, SOL_IPV6, IPV6_MTU_DISCOVER, &pmtudisc, sizeof(pmtudisc)) == -1) { in main()
/external/libnl/include/netlink/route/link/
Dipip.h41 extern int rtnl_link_ipip_set_pmtudisc(struct rtnl_link *link, uint8_t pmtudisc);
Dipgre.h57 extern int rtnl_link_ipgre_set_pmtudisc(struct rtnl_link *link, uint8_t pmtudisc);
Dsit.h42 extern int rtnl_link_sit_set_pmtudisc(struct rtnl_link *link, uint8_t pmtudisc);
/external/libnl/doc/
Droute.txt941 extern int rtnl_link_ipip_set_pmtudisc(struct rtnl_link *link, uint8_t pmtudisc);
1019 extern int rtnl_link_ipgre_set_pmtudisc(struct rtnl_link *link, uint8_t pmtudisc);
1097 extern int rtnl_link_sit_set_pmtudisc(struct rtnl_link *link, uint8_t pmtudisc);