Searched refs:protoent (Results 1 – 25 of 34) sorted by relevance
12
15 void print_protoent(protoent *curr_entry) { in print_protoent()25 protoent entry; in print_all_protoent()27 protoent *curr_entry; in print_all_protoent()37 protoent entry; in print_protoent_by_name()39 protoent *curr_entry; in print_protoent_by_name()47 protoent entry; in print_protoent_by_num()49 protoent *curr_entry; in print_protoent_by_num()
10 struct protoent *ptp = getprotoent(); in test1()22 struct protoent *ptp = getprotobyname("icmp"); in test2()34 struct protoent *ptp = getprotobynumber(1); in test3()47 struct protoent *ptp = getprotobynumber(1); in test4()61 struct protoent *ptp = getprotobyname("ttp"); in test5()
30 struct protoent *pe; in inet_proto_n2a()52 struct protoent *pe; in inet_proto_a2n()
518 struct protoent *p; in pcap_nametoproto()523 struct protoent result_buf; in pcap_nametoproto()539 struct protoent result_buf; in pcap_nametoproto()547 struct protoent result_buf; in pcap_nametoproto()
300 struct protoent protoent_buf;302 struct protoent *resultp;318 struct protoent protoent_buf;335 struct protoent protoent_buf;
70 const struct protoent *pent = getprotobynumber(proto); in proto_to_name()86 const struct protoent *pent; in name_to_proto()
422 struct protoent *pe; in brip6_print()561 struct protoent *pe; in brip6_xlate()
499 struct protoent *pe; in brip_print()686 struct protoent *pe; in brip_xlate()
247 const struct protoent *p = NULL; in print_proto()
64 struct protoent *servptr; in fou_parse_opt()
240 struct protoent *pp; in strxf_proto()1244 struct protoent *pp; in xfrm_selector_upspec_parse()
88 struct protoent *tcp_proto; in lws_plat_set_socket_options()
188 struct protoent *proto = getprotobyname("TCP"); in dbgsysSetSocketOption()
92 struct protoent *tcp_proto; in lws_plat_set_socket_options()
100 struct protoent *tcp_proto; in lws_plat_set_socket_options()
114 struct protoent *pe; in do_tests()
869 struct protoent *p = getprotobynumber(proto); in nl_ip_proto2str()882 struct protoent *p = getprotobyname(name); in nl_str2ip_proto()
57 struct protoent *protocol = NULL;
376 const struct protoent *pent = getprotobynumber(proto); in print_proto()827 const struct protoent *pent = getprotobynumber(proto); in save_rule_details()
362 const struct protoent *pent = in nft_ipv6_xlate()
403 const struct protoent *pent = in nft_ipv4_xlate()
56 struct protoent *pent = getprotobynumber(proto); in proto_to_name()
744 struct protoent *ent;
191 pub struct protoent {1224 pub fn getprotobyname(name: *const ::c_char) -> *mut protoent; in getprotobyname() argument1225 pub fn getprotobynumber(proto: ::c_int) -> *mut protoent; in getprotobynumber() argument
1573 struct protoent *pe; in main()