Home
last modified time | relevance | path

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

/Linux-v4.19/net/netfilter/
Dxt_NFLOG.c31 li.u.ulog.copy_len = info->len; in nflog_tg()
32 li.u.ulog.group = info->group; in nflog_tg()
33 li.u.ulog.qthreshold = info->threshold; in nflog_tg()
34 li.u.ulog.flags = 0; in nflog_tg()
37 li.u.ulog.flags |= NF_LOG_F_COPY_LEN; in nflog_tg()
Dnft_log.c186 li->u.ulog.group = ntohs(nla_get_be16(tb[NFTA_LOG_GROUP])); in nft_log_init()
188 li->u.ulog.flags |= NF_LOG_F_COPY_LEN; in nft_log_init()
189 li->u.ulog.copy_len = in nft_log_init()
193 li->u.ulog.qthreshold = in nft_log_init()
249 if (nla_put_be16(skb, NFTA_LOG_GROUP, htons(li->u.ulog.group))) in nft_log_dump()
252 if (li->u.ulog.flags & NF_LOG_F_COPY_LEN) { in nft_log_dump()
254 htonl(li->u.ulog.copy_len))) in nft_log_dump()
257 if (li->u.ulog.qthreshold) { in nft_log_dump()
259 htons(li->u.ulog.qthreshold))) in nft_log_dump()
Dnfnetlink_log.c612 .ulog = {
647 inst = instance_lookup_get(log, li->u.ulog.group); in nfulnl_log_packet()
696 if (li->u.ulog.qthreshold) in nfulnl_log_packet()
697 if (qthreshold > li->u.ulog.qthreshold) in nfulnl_log_packet()
698 qthreshold = li->u.ulog.qthreshold; in nfulnl_log_packet()
709 if ((li->u.ulog.flags & NF_LOG_F_COPY_LEN) && in nfulnl_log_packet()
710 (li->u.ulog.copy_len < data_len)) in nfulnl_log_packet()
711 data_len = li->u.ulog.copy_len; in nfulnl_log_packet()
/Linux-v4.19/samples/connector/
Ducon.c52 #define ulog(f, a...) fprintf(stdout, f, ##a) macro
54 #define ulog(f, a...) do {} while (0) macro
79 ulog("%s: [%08x.%08x] len=%u, seq=%u, ack=%u.\n", in netlink_send()
86 ulog("Failed to send: %s [%d].\n", in netlink_send()
144 ulog("Unable to open %s for writing: %s\n", in main()
163 ulog("subscribing to %u.%u\n", CN_TEST_IDX, CN_TEST_VAL); in main()
195 ulog("%d messages have been sent to %08x.%08x.\n", i, data->id.idx, data->id.val); in main()
/Linux-v4.19/net/bridge/netfilter/
Debt_nflog.c30 li.u.ulog.copy_len = info->len; in ebt_nflog_tg()
31 li.u.ulog.group = info->group; in ebt_nflog_tg()
32 li.u.ulog.qthreshold = info->threshold; in ebt_nflog_tg()
33 li.u.ulog.flags = 0; in ebt_nflog_tg()
/Linux-v4.19/include/net/netfilter/
Dnf_log.h31 } ulog; member