| 1438 | } |
| 1439 | |
| 1440 | int |
| 1441 | LibAliasOutTry(struct libalias *la, void *ptr, int maxpacketsize, int create) |
| 1442 | { |
| 1443 | int res; |
| 1444 | |
| 1445 | LIBALIAS_LOCK(la); |
| 1446 | res = LibAliasOutLocked(la, (struct ip *)ptr, maxpacketsize, create); |
| 1447 | LIBALIAS_UNLOCK(la); |
| 1448 | return (res); |
| 1449 | } |
| 1450 | |
| 1451 | static int |
| 1452 | LibAliasOutLocked(struct libalias *la, struct ip *pip, /* valid IP packet */ |
no test coverage detected