HomeSort by relevance Sort by last modified time
    Searched refs:packetlen (Results 1 - 2 of 2) sorted by null

  /external/iputils/
rdisc.c 100 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, 0
589 int packetlen, i, cc; local
    [all...]
  /external/toybox/toys/pending/
tftp.c 219 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 = mkpkt_data(fd, offset, packet, blockno)
    [all...]

Completed in 62 milliseconds