Searched defs:packetlen (Results 1 - 2 of 2) sorted by relevance

/external/toybox/toys/pending/
H A Dtftp.c219 int packetlen, retry; local
242 packetlen = mkpkt_err(packet, TFTP_ER_UNKID, TFTP_ES_UNKID);
243 (void) write_server(sd, packet, packetlen, server);
252 packetlen = mkpkt_err(packet, TFTP_ER_ILLEGALOP, TFTP_ES_ILLEGALOP);
253 (void) write_server(sd, packet, packetlen, server);
380 int packetlen, sd, fd, retry = 0, ret, result = -1; local
387 packetlen = mkpkt_request(packet, TFTP_OP_WRQ, TT.remote_file, 1);
388 ret = write_server(sd, packet, packetlen, &server);
389 if (ret != packetlen) goto errout_with_sd;
397 packetlen
[all...]
/external/iputils/
H A Drdisc.c100 static int sendbcast(int s, char *packet, int packetlen);
101 static int sendmcast(int s, char *packet, int packetlen, struct sockaddr_in *);
102 static int sendbcastif(int s, char *packet, int packetlen, struct interface *ifp);
103 static int sendmcastif(int s, char *packet, int packetlen, struct sockaddr_in *sin, struct interface *ifp);
544 int packetlen, i; local
554 packetlen = 8;
557 icp->checksum = in_cksum( (u_short *)icp, packetlen );
560 i = sendbcast(s, (char *)outpack, packetlen);
562 i = sendmcast(s, (char *)outpack, packetlen, sin);
564 i = sendto( s, (char *)outpack, packetlen,
589 int packetlen, i, cc; local
997 sendbcast(int s, char *packet, int packetlen) argument
1013 sendbcastif(int s, char *packet, int packetlen, struct interface *ifp) argument
1039 sendmcast(int s, char *packet, int packetlen, struct sockaddr_in *sin) argument
1055 sendmcastif(int s, char *packet, int packetlen, struct sockaddr_in *sin, struct interface *ifp) argument
[all...]

Completed in 865 milliseconds