Lines Matching refs:linger
590 struct linger linger; in print_get_linger() local
596 if (len > sizeof(linger)) in print_get_linger()
597 len = sizeof(linger); in print_get_linger()
598 if (umoven_or_printaddr(tcp, addr, len, &linger)) in print_get_linger()
601 if (len < sizeof(linger.l_onoff)) { in print_get_linger()
603 print_quoted_string((void *) &linger.l_onoff, in print_get_linger()
606 PRINT_FIELD_D("{", linger, l_onoff); in print_get_linger()
608 if (len > offsetof(struct linger, l_linger)) { in print_get_linger()
609 len -= offsetof(struct linger, l_linger); in print_get_linger()
610 if (len < sizeof(linger.l_linger)) { in print_get_linger()
612 print_quoted_string((void *) &linger.l_linger, in print_get_linger()
615 PRINT_FIELD_D(", ", linger, l_linger); in print_get_linger()
887 struct linger linger; in print_set_linger() local
889 if (len < (int) sizeof(linger)) { in print_set_linger()
891 } else if (!umove_or_printaddr(tcp, addr, &linger)) { in print_set_linger()
892 PRINT_FIELD_D("{", linger, l_onoff); in print_set_linger()
893 PRINT_FIELD_D(", ", linger, l_linger); in print_set_linger()