Home
last modified time | relevance | path

Searched refs:protocol (Results 1 – 12 of 12) sorted by relevance

/busybox-1.35.0/networking/libiproute/
Diptunnel.c206 if (p->iph.protocol && p->iph.protocol != IPPROTO_IPIP) { in parse_args()
209 p->iph.protocol = IPPROTO_IPIP; in parse_args()
213 if (p->iph.protocol && p->iph.protocol != IPPROTO_GRE) { in parse_args()
216 p->iph.protocol = IPPROTO_GRE; in parse_args()
220 if (p->iph.protocol && p->iph.protocol != IPPROTO_IPV6) { in parse_args()
223 p->iph.protocol = IPPROTO_IPV6; in parse_args()
330 if (p->iph.protocol == 0) { in parse_args()
332 p->iph.protocol = IPPROTO_GRE; in parse_args()
334 p->iph.protocol = IPPROTO_IPIP; in parse_args()
336 p->iph.protocol = IPPROTO_IPV6; in parse_args()
[all …]
/busybox-1.35.0/networking/
Dwget.c193 const char *protocol; member
542 h->protocol = P_HTTP; in parse_url()
550 h->protocol = P_FTP; in parse_url()
556 h->protocol = P_FTPS; in parse_url()
562 h->protocol = P_HTTPS; in parse_url()
834 if (target->protocol == P_FTPS) in prepare_ftp_session()
890 if (target->protocol == P_FTPS) { in prepare_ftp_session()
1119 char *proxy = getenv(target.protocol[0] == 'f' ? "ftp_proxy" : "http_proxy"); in download_one_url()
1126 server.protocol = target.protocol; in download_one_url()
1181 if (use_proxy || target.protocol[0] != 'f' /*not ftp[s]*/) { in download_one_url()
[all …]
Darp.c490 const char *protocol; in arp_main() local
505 opts = getopt32(argv, "A:p:H:t:i:adnDsv", &protocol, &protocol, in arp_main()
509 ap = get_aftype(protocol); in arp_main()
511 bb_error_msg_and_die("%s: unknown %s", protocol, "address family"); in arp_main()
Dtelnetd.ctrlSQ.patch49 the pseudo-terminal, using a protocol similar to that of TIOCPKT. The TIOCUCNTL and TIOCPKT modes a…
Dping.c193 uint8_t protocol; member
/busybox-1.35.0/libbb/
Dxfuncs_printf.c464 int FAST_FUNC xsocket(int domain, int type, int protocol) in xsocket() argument
466 int r = socket(domain, type, protocol); in xsocket()
479 bb_perror_msg_and_die("socket(AF_%s,%d,%d)", s, type, protocol); in xsocket()
Dxconnect.c121 unsigned FAST_FUNC bb_lookup_port(const char *port, const char *protocol, unsigned port_nr) in bb_lookup_port() argument
126 struct servent *tserv = getservbyname(port, protocol); in bb_lookup_port()
/busybox-1.35.0/networking/udhcp/
Dpacket.c159 packet.ip.protocol = IPPROTO_UDP; in udhcp_send_raw_packet()
Ddhcpc.c929 if (packet.ip.protocol != IPPROTO_UDP in d4_recv_raw_packet()
963 memset(&packet.ip, 0, offsetof(struct iphdr, protocol)); in d4_recv_raw_packet()
/busybox-1.35.0/docs/
Dtcp.txt55 In practice the protocol in use often does not allow peer to send
/busybox-1.35.0/include/
Dlibbb.h718 int xsocket(int domain, int type, int protocol) FAST_FUNC;
741 unsigned bb_lookup_port(const char *port, const char *protocol, unsigned default_port) FAST_FUNC;
743 # define bb_lookup_std_port(portstr, protocol, portnum) bb_lookup_port(portstr, protocol, portnum) argument
745 # define bb_lookup_std_port(portstr, protocol, portnum) (portnum) argument
/busybox-1.35.0/miscutils/
Ddevfsd.c210 #error protocol version mismatch. Update your kernel headers