Home
last modified time | relevance | path

Searched refs:IFNAMSIZ (Results 1 – 25 of 255) sorted by relevance

1234567891011

/linux-6.6.21/include/uapi/linux/netfilter/
Dxt_physdev.h16 char physindev[IFNAMSIZ];
17 char in_mask[IFNAMSIZ];
18 char physoutdev[IFNAMSIZ];
19 char out_mask[IFNAMSIZ];
Dxt_rateest.h25 char name1[IFNAMSIZ];
26 char name2[IFNAMSIZ];
Dxt_hashlimit.h45 char name [IFNAMSIZ]; /* name */
100 char name[IFNAMSIZ];
/linux-6.6.21/tools/testing/selftests/bpf/progs/
Dbind4_prog.c20 #ifndef IFNAMSIZ
21 #define IFNAMSIZ 16 macro
26 char veth1[IFNAMSIZ] = "test_sock_addr1"; in bind_to_device()
27 char veth2[IFNAMSIZ] = "test_sock_addr2"; in bind_to_device()
28 char missing[IFNAMSIZ] = "nonexistent_dev"; in bind_to_device()
29 char del_bind[IFNAMSIZ] = ""; in bind_to_device()
Dconnect4_prog.c31 #ifndef IFNAMSIZ
32 #define IFNAMSIZ 16 macro
89 char veth1[IFNAMSIZ] = "test_sock_addr1"; in bind_to_device()
90 char veth2[IFNAMSIZ] = "test_sock_addr2"; in bind_to_device()
91 char missing[IFNAMSIZ] = "nonexistent_dev"; in bind_to_device()
92 char del_bind[IFNAMSIZ] = ""; in bind_to_device()
Dbind6_prog.c26 #ifndef IFNAMSIZ
27 #define IFNAMSIZ 16 macro
32 char veth1[IFNAMSIZ] = "test_sock_addr1"; in bind_to_device()
33 char veth2[IFNAMSIZ] = "test_sock_addr2"; in bind_to_device()
34 char missing[IFNAMSIZ] = "nonexistent_dev"; in bind_to_device()
35 char del_bind[IFNAMSIZ] = ""; in bind_to_device()
Dtype_cast.c15 #define IFNAMSIZ 16 macro
18 char name[IFNAMSIZ];
34 __builtin_memcpy(name, dev->name, IFNAMSIZ); in md_xdp()
/linux-6.6.21/include/uapi/linux/netfilter_arp/
Darp_tables.h66 char iniface[IFNAMSIZ], outiface[IFNAMSIZ];
67 unsigned char iniface_mask[IFNAMSIZ], outiface_mask[IFNAMSIZ];
/linux-6.6.21/drivers/net/ethernet/stmicro/stmmac/
Dstmmac.h293 char int_name_mac[IFNAMSIZ + 9];
294 char int_name_wol[IFNAMSIZ + 9];
295 char int_name_lpi[IFNAMSIZ + 9];
296 char int_name_sfty_ce[IFNAMSIZ + 10];
297 char int_name_sfty_ue[IFNAMSIZ + 10];
298 char int_name_rx_irq[MTL_MAX_TX_QUEUES][IFNAMSIZ + 14];
299 char int_name_tx_irq[MTL_MAX_TX_QUEUES][IFNAMSIZ + 18];
313 char wq_name[IFNAMSIZ + 4];
/linux-6.6.21/include/uapi/linux/netfilter_ipv4/
Dip_tables.h76 char iniface[IFNAMSIZ], outiface[IFNAMSIZ];
77 unsigned char iniface_mask[IFNAMSIZ], outiface_mask[IFNAMSIZ];
/linux-6.6.21/include/uapi/linux/netfilter_ipv6/
Dip6_tables.h69 char iniface[IFNAMSIZ], outiface[IFNAMSIZ];
70 unsigned char iniface_mask[IFNAMSIZ], outiface_mask[IFNAMSIZ];
/linux-6.6.21/include/uapi/linux/
Dif.h33 #define IFNAMSIZ 16 macro
238 char ifrn_name[IFNAMSIZ]; /* if name, e.g. "en0" */
251 char ifru_slave[IFNAMSIZ]; /* Just fits the size */
252 char ifru_newname[IFNAMSIZ];
Dip6_tunnel.h28 char name[IFNAMSIZ]; /* name of tunnel device */
40 char name[IFNAMSIZ]; /* name of tunnel device */
Datmbr2684.h58 char ifname[IFNAMSIZ];
72 char ifname[IFNAMSIZ];
Dwireless.h904 char name[IFNAMSIZ];
942 char ifrn_name[IFNAMSIZ]; /* if name, e.g. "eth0" */
1067 char name[IFNAMSIZ]; /* Name of the extension */
1089 #define IW_EV_CHAR_LEN (IW_EV_LCP_LEN + IFNAMSIZ)
1107 #define IW_EV_CHAR_PK_LEN (IW_EV_LCP_PK_LEN + IFNAMSIZ)
/linux-6.6.21/include/uapi/linux/netfilter_bridge/
Debtables.h174 char in[IFNAMSIZ];
176 char logical_in[IFNAMSIZ];
178 char out[IFNAMSIZ];
180 char logical_out[IFNAMSIZ];
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/esw/diag/
Dbridge_tracepoint.h17 __array(char, dev_name, IFNAMSIZ)
26 IFNAMSIZ);
118 __array(char, dev_name, IFNAMSIZ)
124 strscpy(__entry->dev_name, netdev_name(dev), IFNAMSIZ);
/linux-6.6.21/drivers/net/can/
Dvxcan.c184 char ifname[IFNAMSIZ]; in vxcan_newlink()
203 nla_strscpy(ifname, tbp[IFLA_IFNAME], IFNAMSIZ); in vxcan_newlink()
206 snprintf(ifname, IFNAMSIZ, DRV_NAME "%%d"); in vxcan_newlink()
240 nla_strscpy(dev->name, tb[IFLA_IFNAME], IFNAMSIZ); in vxcan_newlink()
242 snprintf(dev->name, IFNAMSIZ, DRV_NAME "%%d"); in vxcan_newlink()
/linux-6.6.21/net/bridge/
Dbr_ioctl.c377 char buf[IFNAMSIZ]; in old_deviceless()
382 if (copy_from_user(buf, argp, IFNAMSIZ)) in old_deviceless()
385 buf[IFNAMSIZ-1] = 0; in old_deviceless()
412 char buf[IFNAMSIZ]; in br_ioctl_stub()
419 if (copy_from_user(buf, uarg, IFNAMSIZ)) { in br_ioctl_stub()
424 buf[IFNAMSIZ-1] = 0; in br_ioctl_stub()
/linux-6.6.21/drivers/net/
DSpace.c38 char name[IFNAMSIZ];
71 strscpy(s[i].name, name, IFNAMSIZ); in netdev_boot_setup_add()
121 char name[IFNAMSIZ]; in netdev_boot_base()
/linux-6.6.21/drivers/staging/rtl8192u/ieee80211/
Dieee80211_softmac_wx.c487 strscpy(wrqu->name, "802.11", IFNAMSIZ); in ieee80211_wx_get_name()
489 strlcat(wrqu->name, "b", IFNAMSIZ); in ieee80211_wx_get_name()
491 strlcat(wrqu->name, "/g", IFNAMSIZ); in ieee80211_wx_get_name()
493 strlcat(wrqu->name, "g", IFNAMSIZ); in ieee80211_wx_get_name()
497 strlcat(wrqu->name, "/n", IFNAMSIZ); in ieee80211_wx_get_name()
501 strlcat(wrqu->name, " linked", IFNAMSIZ); in ieee80211_wx_get_name()
503 strlcat(wrqu->name, " link..", IFNAMSIZ); in ieee80211_wx_get_name()
/linux-6.6.21/tools/testing/selftests/net/
Dtun.c92 rta->rta_len = RTA_LENGTH(IFNAMSIZ); in tun_delete()
94 memcpy(RTA_DATA(rta), dev, IFNAMSIZ); in tun_delete()
107 char ifname[IFNAMSIZ]; in FIXTURE()
/linux-6.6.21/net/netfilter/
Dnft_fib.c104 len = IFNAMSIZ; in nft_fib_init()
158 strscpy_pad(reg, dev ? dev->name : "", IFNAMSIZ); in nft_fib_store_result()
182 len = IFNAMSIZ; in nft_fib_reduce()
/linux-6.6.21/net/netfilter/ipset/
Dip_set_hash_netiface.c43 #define STRSCPY(a, b) strscpy(a, b, IFNAMSIZ)
63 char iface[IFNAMSIZ];
229 nla_strscpy(e.iface, tb[IPSET_ATTR_IFACE], IFNAMSIZ); in hash_netiface4_uadt()
297 char iface[IFNAMSIZ];
451 nla_strscpy(e.iface, tb[IPSET_ATTR_IFACE], IFNAMSIZ); in hash_netiface6_uadt()
495 .len = IFNAMSIZ - 1 },
/linux-6.6.21/include/linux/netfilter/
Dx_tables.h413 if (IFNAMSIZ > sizeof(unsigned long)) in ifname_compare_aligned()
415 if (IFNAMSIZ > 2 * sizeof(unsigned long)) in ifname_compare_aligned()
417 if (IFNAMSIZ > 3 * sizeof(unsigned long)) in ifname_compare_aligned()
419 BUILD_BUG_ON(IFNAMSIZ > 4 * sizeof(unsigned long)); in ifname_compare_aligned()

1234567891011