Lines Matching refs:proto
79 static int proto = -1; variable
110 if (proto == PF_INET) in setup_sock_filter()
117 if (proto == PF_INET) in setup_sock_filter()
181 if (proto == PF_INET6) { in tcp_checksum()
190 } else if (proto == PF_INET) { in tcp_checksum()
226 if (proto == PF_INET6) { in fill_networklayer()
237 } else if (proto == PF_INET) { in fill_networklayer()
389 if (proto == PF_INET) { in recompute_packet()
652 if (proto == PF_INET) { in send_changed_tos()
656 } else if (proto == PF_INET6) { in send_changed_tos()
673 if (proto == PF_INET) { in send_changed_ECN()
864 if (proto == PF_INET) { in gro_sender()
882 } else if (proto == PF_INET6) { in gro_sender()
891 int offset = proto == PF_INET ? 20 : 0; in gro_sender()
984 if (proto == PF_INET) { in gro_receiver()
994 } else if (proto == PF_INET6) { in gro_receiver()
1003 int offset = proto == PF_INET ? 20 : 0; in gro_receiver()
1044 proto = PF_INET; in parse_args()
1048 proto = PF_INET6; in parse_args()
1086 if (proto == PF_INET) { in main()
1089 } else if (proto == PF_INET6) { in main()