diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2018-04-22 18:54:13 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2018-04-22 18:54:13 +0200 |
commit | 20b9326daddd52ffe534a968fb596af1674f53cc (patch) | |
tree | dd78be5dc993adf3af0c18e910ffb94414b0bb27 /sys/src/9/ip/ip.h | |
parent | c80d94304d0b9946c822e073b637760a0894522a (diff) |
devip: fix ipv6 icmp unreachable handling, fix retransmit, fix ifc locking, remove tentative check
Diffstat (limited to 'sys/src/9/ip/ip.h')
-rw-r--r-- | sys/src/9/ip/ip.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/src/9/ip/ip.h b/sys/src/9/ip/ip.h index 6047acb2a..10428afdf 100644 --- a/sys/src/9/ip/ip.h +++ b/sys/src/9/ip/ip.h @@ -243,7 +243,7 @@ struct Medium void (*pktin)(Fs *f, Ipifc *ifc, Block *bp); /* address resolution */ - void (*areg)(Fs *f, Ipifc *ifc, uchar *ip, uchar *proxy); /* register */ + void (*areg)(Fs *f, Ipifc *ifc, Iplifc *lifc, uchar *ip); /* v6 address generation */ void (*pref2addr)(uchar *pref, uchar *ea); @@ -608,7 +608,7 @@ extern int arpwrite(Fs*, char*, int); extern Arpent* arpget(Arp*, Block *bp, int version, Ipifc *ifc, uchar *ip, uchar *h); extern void arprelease(Arp*, Arpent *a); extern Block* arpresolve(Arp*, Arpent *a, Medium *type, uchar *mac); -extern int arpenter(Fs*, int version, uchar *ip, uchar *mac, int n, uchar *src, int norefresh); +extern int arpenter(Fs*, int version, uchar *ip, uchar *mac, int n, uchar *ia, int norefresh); extern void ndpsendsol(Fs*, Ipifc*, Arpent*); /* @@ -654,8 +654,6 @@ extern Medium pktmedium; extern Medium* ipfindmedium(char *name); extern void addipmedium(Medium *med); extern int ipforme(Fs*, uchar *addr); -extern int iptentative(Fs*, uchar *addr); -extern int ipisbm(uchar *ip); extern int ipismulticast(uchar *ip); extern Ipifc* findipifc(Fs*, uchar *local, uchar *remote, int type); extern Ipifc* findipifcstr(Fs *f, char *s); |