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

  /external/libpcap/
pcap-sita.c 67 struct sockaddr_in *serv_addr; /* the address control block for comms to this unit */ member in struct:unit
310 if (u->serv_addr == NULL) {
311 u->serv_addr = malloc(sizeof(struct sockaddr_in));
314 if (u->serv_addr == NULL) { /* oops, we didn't get the memory requested */
315 fprintf(stderr, "malloc() request for u->serv_addr failed, value of errno is: %d\n", errno);
322 memset((char *)u->serv_addr, 0, sizeof(struct sockaddr_in));
323 u->serv_addr->sin_family = AF_INET;
324 u->serv_addr->sin_addr.s_addr = inet_addr(ip);
325 u->serv_addr->sin_port = htons(IOP_SNIFFER_PORT);
331 if (connect(sockfd, (struct sockaddr *)u->serv_addr, sizeof(struct sockaddr_in)) < 0)
    [all...]
  /external/valgrind/coregrind/
m_libcfile.c 934 Int my_connect ( Int sockfd, struct vki_sockaddr_in* serv_addr, Int addrlen );
    [all...]
  /external/valgrind/coregrind/m_syswrap/
syswrap-tilegx-linux.c 766 int, sockfd, struct sockaddr *, serv_addr, int, addrlen);
    [all...]
syswrap-darwin.c     [all...]
syswrap-linux.c     [all...]

Completed in 977 milliseconds