Home
last modified time | relevance | path

Searched refs:proto (Results 1 – 7 of 7) sorted by relevance

/busybox-1.35.0/networking/
Dslattach.c111 const char *proto = "cslip"; in slattach_main() local
131 &proto, &baud_str, &extcmd in slattach_main()
136 encap = index_in_strings(proto_names, proto); in slattach_main()
138 invarg_1_to_2(proto, "protocol"); in slattach_main()
Dnetstat.c379 static const char *get_sname(int port, const char *proto, int numeric) in get_sname() argument
384 struct servent *se = getservbyport(port, proto); in get_sname()
392 static char *ip_port_str(struct sockaddr *addr, int port, const char *proto, int numeric) in ip_port_str() argument
405 host_port = xasprintf("%s:%s", host, get_sname(htons(port), proto, numeric)); in ip_port_str()
456 const char *state_str, const char *proto, int is_connected) in print_inet_line() argument
463 proto, flags & NETSTAT_NUMERIC); in print_inet_line()
466 proto, flags & NETSTAT_NUMERIC); in print_inet_line()
468 proto, param->rxq, param->txq, in print_inet_line()
548 unsigned long refcnt, proto, unix_flags; in unix_do_one() local
563 &refcnt, &proto, &unix_flags, &type, &state, &inode, &path_ofs); in unix_do_one()
[all …]
Dtcpudp.c157 static void xsetenv_proto(const char *proto, const char *n, const char *v) in xsetenv_proto() argument
159 char *var = xasprintf("%s%s=%s", proto, n, v); in xsetenv_proto()
563 const char *proto = tcp ? "TCP" : "UDP"; in tcpudpsvd_main() local
576 xsetenv_plain("PROTO", proto); in tcpudpsvd_main()
577 xsetenv_proto(proto, "LOCALADDR", local_addr); in tcpudpsvd_main()
578 xsetenv_proto(proto, "REMOTEADDR", remote_addr); in tcpudpsvd_main()
580 xsetenv_proto(proto, "LOCALHOST", local_hostname); in tcpudpsvd_main()
581 xsetenv_proto(proto, "REMOTEHOST", remote_hostname); in tcpudpsvd_main()
/busybox-1.35.0/networking/libiproute/
Diplink.c539 uint16_t id, proto; in vlan_parse_opt() local
554 proto = htons(ETH_P_8021Q); in vlan_parse_opt()
556 proto = htons(ETH_P_8021AD); in vlan_parse_opt()
560 addattr_l(n, size, IFLA_VLAN_PROTOCOL, &proto, sizeof(proto)); in vlan_parse_opt()
/busybox-1.35.0/util-linux/
Dmount.c1156 long unsigned proto, in get_mountport() argument
1172 pm_mnt->pm_prot = proto; in get_mountport()
1185 || (proto && pm_mnt->pm_prot && pmap->pml_map.pm_prot != proto) in get_mountport()
1271 int proto; in nfsmount() local
1564 proto = (tcp) ? IPPROTO_TCP : IPPROTO_UDP; in nfsmount()
1665 proto, in nfsmount()
/busybox-1.35.0/libbb/
Dxconnect.c412 int FAST_FUNC create_and_bind_to_netlink(int proto, int grp, unsigned rcvbuf) in create_and_bind_to_netlink() argument
417 fd = xsocket(AF_NETLINK, SOCK_DGRAM, proto); in create_and_bind_to_netlink()
/busybox-1.35.0/include/
Dlibbb.h784 int create_and_bind_to_netlink(int proto, int grp, unsigned rcvbuf) FAST_FUNC;