summaryrefslogtreecommitdiffhomepage
path: root/networking/udhcp/socket.h
blob: 23bffa16daeb91e0677e53fd52a07010160424a6 (plain)
1
2
3
4
5
6
7
8
9
/* vi: set sw=4 ts=4: */
/* socket.h */
#ifndef _SOCKET_H
#define _SOCKET_H

int read_interface(char *interface, int *ifindex, uint32_t *addr, uint8_t *arp);
int listen_socket(uint32_t ip, int port, char *inf);

#endif