HomeSort by relevance Sort by last modified time
    Searched defs:udp_sock (Results 1 - 3 of 3) sorted by null

  /external/kernel-headers/original/linux/
udp.h 42 struct udp_sock { struct
55 static inline struct udp_sock *udp_sk(const struct sock *sk)
57 return (struct udp_sock *)sk;
  /external/wpa_supplicant_8/src/ap/
iapp.c 173 int udp_sock; member in struct:iapp_data
205 if (sendto(iapp->udp_sock, buf, (char *) (add + 1) - buf, 0,
326 len = recvfrom(iapp->udp_sock, buf, sizeof(buf), 0,
398 iapp->udp_sock = iapp->packet_sock = -1;
404 iapp->udp_sock = socket(PF_INET, SOCK_DGRAM, 0);
405 if (iapp->udp_sock < 0) {
413 if (ioctl(iapp->udp_sock, SIOCGIFINDEX, &ifr) != 0) {
420 if (ioctl(iapp->udp_sock, SIOCGIFADDR, &ifr) != 0) {
434 if (ioctl(iapp->udp_sock, SIOCGIFBRDADDR, &ifr) != 0) {
451 if (bind(iapp->udp_sock, (struct sockaddr *) &uaddr
    [all...]
  /external/iproute2/misc/
arpd.c 64 int udp_sock = -1; variable
193 if (ioctl(udp_sock, SIOCGIFNAME, &ifr))
195 if (ioctl(udp_sock, SIOCGIFHWADDR, &ifr))
199 if (setsockopt(udp_sock, SOL_SOCKET, SO_BINDTODEVICE, ifr.ifr_name, strlen(ifr.ifr_name)+1) < 0)
205 if (connect(udp_sock, (struct sockaddr*)&dst, sizeof(dst)) < 0)
208 if (getsockname(udp_sock, (struct sockaddr*)&dst, &len) < 0)
659 if ((udp_sock = socket(AF_INET, SOCK_DGRAM, 0)) < 0) {
670 if (ioctl(udp_sock, SIOCGIFINDEX, &ifr)) {

Completed in 471 milliseconds