xref: /OK3568_Linux_fs/u-boot/net/link_local.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /*
2*4882a593Smuzhiyun  * RFC3927 ZeroConf IPv4 Link-Local addressing
3*4882a593Smuzhiyun  * (see <http://www.zeroconf.org/>)
4*4882a593Smuzhiyun  *
5*4882a593Smuzhiyun  * Copied from BusyBox - networking/zcip.c
6*4882a593Smuzhiyun  *
7*4882a593Smuzhiyun  * Copyright (C) 2003 by Arthur van Hoff (avh@strangeberry.com)
8*4882a593Smuzhiyun  * Copyright (C) 2004 by David Brownell
9*4882a593Smuzhiyun  *
10*4882a593Smuzhiyun  * Licensed under the GPL v2 or later
11*4882a593Smuzhiyun  */
12*4882a593Smuzhiyun 
13*4882a593Smuzhiyun #if defined(CONFIG_CMD_LINK_LOCAL)
14*4882a593Smuzhiyun 
15*4882a593Smuzhiyun #ifndef __LINK_LOCAL_H__
16*4882a593Smuzhiyun #define __LINK_LOCAL_H__
17*4882a593Smuzhiyun 
18*4882a593Smuzhiyun #include <common.h>
19*4882a593Smuzhiyun 
20*4882a593Smuzhiyun void link_local_receive_arp(struct arp_hdr *arp, int len);
21*4882a593Smuzhiyun void link_local_start(void);
22*4882a593Smuzhiyun 
23*4882a593Smuzhiyun #endif /* __LINK_LOCAL_H__ */
24*4882a593Smuzhiyun #endif
25