Home
last modified time | relevance | path

Searched refs:ulog (Results 1 – 6 of 6) sorted by relevance

/linux-6.3-rc2/samples/connector/
A Ducon.c38 #define ulog(f, a...) fprintf(stdout, f, ##a) macro
40 #define ulog(f, a...) do {} while (0) macro
65 ulog("%s: [%08x.%08x] len=%u, seq=%u, ack=%u.\n", in netlink_send()
72 ulog("Failed to send: %s [%d].\n", in netlink_send()
130 ulog("Unable to open %s for writing: %s\n", in main()
149 ulog("subscribing to %u.%u\n", CN_TEST_IDX, CN_TEST_VAL); in main()
181 ulog("%d messages have been sent to %08x.%08x.\n", i, data->id.idx, data->id.val); in main()
/linux-6.3-rc2/net/netfilter/
A Dxt_NFLOG.c28 li.u.ulog.copy_len = info->len; in nflog_tg()
29 li.u.ulog.group = info->group; in nflog_tg()
30 li.u.ulog.qthreshold = info->threshold; in nflog_tg()
31 li.u.ulog.flags = 0; in nflog_tg()
34 li.u.ulog.flags |= NF_LOG_F_COPY_LEN; in nflog_tg()
A Dnft_log.c197 li->u.ulog.group = ntohs(nla_get_be16(tb[NFTA_LOG_GROUP])); in nft_log_init()
199 li->u.ulog.flags |= NF_LOG_F_COPY_LEN; in nft_log_init()
200 li->u.ulog.copy_len = in nft_log_init()
204 li->u.ulog.qthreshold = in nft_log_init()
265 if (nla_put_be16(skb, NFTA_LOG_GROUP, htons(li->u.ulog.group))) in nft_log_dump()
268 if (li->u.ulog.flags & NF_LOG_F_COPY_LEN) { in nft_log_dump()
270 htonl(li->u.ulog.copy_len))) in nft_log_dump()
273 if (li->u.ulog.qthreshold) { in nft_log_dump()
275 htons(li->u.ulog.qthreshold))) in nft_log_dump()
A Dnfnetlink_log.c666 .ulog = {
701 inst = instance_lookup_get(log, li->u.ulog.group); in nfulnl_log_packet()
754 if (li->u.ulog.qthreshold) in nfulnl_log_packet()
755 if (qthreshold > li->u.ulog.qthreshold) in nfulnl_log_packet()
756 qthreshold = li->u.ulog.qthreshold; in nfulnl_log_packet()
767 if ((li->u.ulog.flags & NF_LOG_F_COPY_LEN) && in nfulnl_log_packet()
768 (li->u.ulog.copy_len < data_len)) in nfulnl_log_packet()
769 data_len = li->u.ulog.copy_len; in nfulnl_log_packet()
/linux-6.3-rc2/net/bridge/netfilter/
A Debt_nflog.c31 li.u.ulog.copy_len = info->len; in ebt_nflog_tg()
32 li.u.ulog.group = info->group; in ebt_nflog_tg()
33 li.u.ulog.qthreshold = info->threshold; in ebt_nflog_tg()
34 li.u.ulog.flags = 0; in ebt_nflog_tg()
/linux-6.3-rc2/include/net/netfilter/
A Dnf_log.h31 } ulog; member

Completed in 10 milliseconds