File tree Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -149,24 +149,6 @@ static int tester_send(const struct device *dev, struct net_pkt *pkt)
149
149
return 0 ;
150
150
}
151
151
152
- static inline struct in_addr * if_get_addr (struct net_if * iface )
153
- {
154
- int i ;
155
-
156
- for (i = 0 ; i < NET_IF_MAX_IPV4_ADDR ; i ++ ) {
157
- if (iface -> config .ip .ipv4 -> unicast [i ].ipv4 .is_used &&
158
- iface -> config .ip .ipv4 -> unicast [i ].ipv4 .address .family ==
159
- AF_INET &&
160
- iface -> config .ip .ipv4 -> unicast [i ].ipv4 .addr_state ==
161
- NET_ADDR_PREFERRED ) {
162
- return
163
- & iface -> config .ip .ipv4 -> unicast [i ].ipv4 .address .in_addr ;
164
- }
165
- }
166
-
167
- return NULL ;
168
- }
169
-
170
152
static inline struct net_pkt * prepare_arp_reply (struct net_if * iface ,
171
153
struct net_pkt * req ,
172
154
struct net_eth_addr * addr ,
You can’t perform that action at this time.
0 commit comments