Searched refs:pmtudisc (Results 1 - 4 of 4) sorted by relevance

/external/iproute2/ip/
H A Dlink_iptnl.c30 fprintf(f, " [ ttl TTL ] [ tos TOS ] [ [no]pmtudisc ] [ dev PHYS_DEV ]\n");
71 __u8 pmtudisc = 1; local
132 pmtudisc =
208 pmtudisc = 0;
209 } else if (strcmp(*argv, "pmtudisc") == 0) {
210 pmtudisc = 1;
289 if (ttl && pmtudisc == 0) {
299 addattr8(n, 1024, IFLA_IPTUN_PMTUDISC, pmtudisc);
378 fprintf(f, "pmtudisc ");
H A Dlink_gre.c31 fprintf(f, " [ ttl TTL ] [ tos TOS ] [ [no]pmtudisc ] [ dev PHYS_DEV ]\n");
69 __u8 pmtudisc = 1; local
132 pmtudisc = rta_getattr_u8(
221 pmtudisc = 0;
222 } else if (!matches(*argv, "pmtudisc")) {
223 pmtudisc = 1;
324 addattr_l(n, 1024, IFLA_GRE_PMTUDISC, &pmtudisc, 1);
/external/iputils/
H A Dping.c115 int pmtudisc = -1; variable
221 pmtudisc = IP_PMTUDISC_DO;
223 pmtudisc = IP_PMTUDISC_DONT;
225 pmtudisc = IP_PMTUDISC_WANT;
448 if (pmtudisc >= 0 && pmtudisc != IP_PMTUDISC_DO) {
453 if (pmtudisc < 0)
454 pmtudisc = IP_PMTUDISC_DO;
457 if (pmtudisc >= 0) {
458 if (setsockopt(icmp_sock, SOL_IP, IP_MTU_DISCOVER, &pmtudisc, sizeo
[all...]
H A Dping6.c165 int pmtudisc=-1; variable
782 pmtudisc = IPV6_PMTUDISC_DO;
784 pmtudisc = IPV6_PMTUDISC_DONT;
786 pmtudisc = IPV6_PMTUDISC_WANT;
1063 if (pmtudisc >= 0 && pmtudisc != IPV6_PMTUDISC_DO) {
1068 if (pmtudisc < 0)
1069 pmtudisc = IPV6_PMTUDISC_DO;
1072 if (pmtudisc >= 0) {
1073 if (setsockopt(icmp_sock, SOL_IPV6, IPV6_MTU_DISCOVER, &pmtudisc, sizeo
[all...]

Completed in 136 milliseconds