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

  /external/dropbear/
svr-tcpfwd.c 140 unsigned char * bindaddr = NULL; local
148 bindaddr = buf_getstring(ses.payload, &addrlen);
158 tcpinfo.listenaddr = bindaddr;
167 m_free(bindaddr);
175 unsigned char * bindaddr = NULL; local
182 bindaddr = buf_getstring(ses.payload, &addrlen);
208 tcpinfo->listenaddr = bindaddr;
219 m_free(bindaddr);
  /system/core/libnetutils/
packet.c 45 struct sockaddr_ll bindaddr; local
51 memset(&bindaddr, 0, sizeof(bindaddr));
52 bindaddr.sll_family = AF_PACKET;
53 bindaddr.sll_protocol = htons(ETH_P_IP);
54 bindaddr.sll_halen = ETH_ALEN;
55 memcpy(bindaddr.sll_addr, hwaddr, ETH_ALEN);
56 bindaddr.sll_ifindex = if_index;
58 if (bind(s, (struct sockaddr *)&bindaddr, sizeof(bindaddr)) < 0)
    [all...]

Completed in 44 milliseconds