OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:NPF_SRC
(Results
1 - 9
of
9
) sorted by relevancy
/src/sys/net/npf/
npf_connkey.c
93
isrc =
NPF_SRC
, idst = NPF_DST;
95
isrc = NPF_DST, idst =
NPF_SRC
;
129
id[
NPF_SRC
] = k[1] >> 16;
135
memcpy(&ips[
NPF_SRC
], &k[2], *alen);
177
* => The 'which' must either be
NPF_SRC
or NPF_DST.
187
KASSERT(which ==
NPF_SRC
|| which == NPF_DST);
250
id[
NPF_SRC
] = th->th_sport;
256
id[
NPF_SRC
] = uh->uh_sport;
262
id[
NPF_SRC
] = ic->icmp_id;
270
id[
NPF_SRC
] = ic6->icmp6_id
[
all
...]
npf_inet.c
459
npc->npc_ips[
NPF_SRC
] = (npf_addr_t *)&ip->ip_src;
552
npc->npc_ips[
NPF_SRC
] = (npf_addr_t *)&ip6->ip6_src;
710
KASSERT(which ==
NPF_SRC
|| which == NPF_DST);
727
KASSERT(which ==
NPF_SRC
|| which == NPF_DST);
732
oport = (which ==
NPF_SRC
) ? &th->th_sport : &th->th_dport;
735
oport = (which ==
NPF_SRC
) ? &uh->uh_sport : &uh->uh_dport;
757
KASSERT(which ==
NPF_SRC
|| which == NPF_DST);
781
oport = (which ==
NPF_SRC
) ? th->th_sport : th->th_dport;
791
oport = (which ==
NPF_SRC
) ? uh->uh_sport : uh->uh_dport;
866
KASSERT(which ==
NPF_SRC
|| which == NPF_DST)
[
all
...]
npf_bpf.c
189
addr = npc->npc_ips[(A & SRC_FLAG_BIT) ?
NPF_SRC
: NPF_DST];
npf_alg_icmp.c
271
SWAP(npf_addr_t *, enpc.npc_ips[
NPF_SRC
], enpc.npc_ips[NPF_DST]);
322
const unsigned which =
NPF_SRC
;
npf_nat.c
379
* => Returns
NPF_SRC
or NPF_DST constant.
387
CTASSERT(
NPF_SRC
== 0 && NPF_DST == 1);
388
CTASSERT(NPF_FLOW_FORW ==
NPF_SRC
&& NPF_FLOW_BACK == NPF_DST);
396
* - Source (
NPF_SRC
) on "forwards" stream.
402
KASSERT(which ==
NPF_SRC
|| which == NPF_DST);
464
npc->npc_ips[
NPF_SRC
],
537
memcpy(&nt->nt_oaddr, npc->npc_ips[
NPF_SRC
], alen);
npf.h
219
#define
NPF_SRC
0
npf_conn.c
566
[NPF_NATIN] =
NPF_SRC
,
/src/usr.sbin/npf/npftest/libnpftest/
npf_nat_test.c
193
npf_inet_ntop(af, npc.npc_ips[
NPF_SRC
], sbuf, sizeof(sbuf));
210
CHECK_TRUE(match_addr(af, saddr, npc.npc_ips[
NPF_SRC
]));
/src/usr.sbin/npf/npfctl/
npf_show.c
480
[
NPF_SRC
] = {
528
[
NPF_SRC
] = {
587
seenf |= npfctl_print_l2filter_seg(ctx,
NPF_SRC
);
596
seenf |= npfctl_print_filter_seg(ctx,
NPF_SRC
);
Completed in 15 milliseconds
Indexes created Tue Oct 21 05:10:09 GMT 2025