Index: files/patch-src_vde__l3_vde__l3.c =================================================================== --- files/patch-src_vde__l3_vde__l3.c (nonexistent) +++ files/patch-src_vde__l3_vde__l3.c (working copy) @@ -0,0 +1,23 @@ +--- src/vde_l3/vde_l3.c.orig 2021-02-23 10:35:14 UTC ++++ src/vde_l3/vde_l3.c +@@ -99,17 +99,19 @@ struct routing_policy unlimited_fifo_routing_policy ={ + .policy_init = ufifo_init + }; + +- ++static + inline struct vde_ethernet_header *ethhead(struct vde_buff *vdb) + { + return (struct vde_ethernet_header*)(vdb->data); + } + ++static + inline struct iphdr *iphead(struct vde_buff *vdb) + { + return (struct iphdr*)(vdb->data + 14); + } + ++static + inline void *payload(struct vde_buff *vdb) + { + return (uint8_t*)(vdb->data + 14 + sizeof(struct iphdr)); Property changes on: files/patch-src_vde__l3_vde__l3.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: files/patch-src_vde__switch_fstp.c =================================================================== --- files/patch-src_vde__switch_fstp.c (nonexistent) +++ files/patch-src_vde__switch_fstp.c (working copy) @@ -0,0 +1,18 @@ +--- src/vde_switch/fstp.c.orig 2021-02-23 10:19:12 UTC ++++ src/vde_switch/fstp.c +@@ -30,6 +30,7 @@ static int numports; + #ifdef FSTP + #include + /*********************** sending macro used by FSTP & Core ******************/ ++static + void inline ltonstring(unsigned long l,unsigned char *s) { + s[3]=l; l>>=8; + s[2]=l; l>>=8; +@@ -37,6 +38,7 @@ void inline ltonstring(unsigned long l,unsigned char * + s[0]=l; + } + ++static + unsigned long inline nstringtol(unsigned char *s) { + return (s[0]<<24)+(s[1]<<16)+(s[2]<<8)+s[3]; + } Property changes on: files/patch-src_vde__switch_fstp.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property