Home
last modified time | relevance | path

Searched full:add_addr (Results 1 – 18 of 18) sorted by relevance

/linux/net/mptcp/
H A Dmib.h43 MPTCP_MIB_ADDADDR, /* Received ADD_ADDR with echo-flag=0 */
44 MPTCP_MIB_ADDADDRTX, /* Sent ADD_ADDR with echo-flag=0 */
45 MPTCP_MIB_ADDADDRTXDROP, /* ADD_ADDR with echo-flag=0 not send due to
48 MPTCP_MIB_ECHOADD, /* Received ADD_ADDR with echo-flag=1 */
49 MPTCP_MIB_ECHOADDTX, /* Send ADD_ADDR with echo-flag=1 */
50 MPTCP_MIB_ECHOADDTXDROP, /* ADD_ADDR with echo-flag=1 not send due
53 MPTCP_MIB_PORTADD, /* Received ADD_ADDR with a port-number */
54 MPTCP_MIB_ADDADDRDROP, /* Dropped incoming ADD_ADDR */
H A Dpm.c193 (mptcp_pm_should_add_signal(msk) ? "add_addr" : "rm_addr")); in __mptcp_pm_send_ack()
323 pr_debug("retransmit ADD_ADDR id=%d\n", entry->addr.id); in mptcp_pm_del_add_timer()
428 u8 add_addr = READ_ONCE(msk->pm.addr_signal); in mptcp_pm_announce_addr()
434 if (add_addr & in mptcp_pm_remove_addr()
443 add_addr |= BIT(MPTCP_ADD_ADDR_ECHO); in mptcp_pm_remove_addr()
446 add_addr |= BIT(MPTCP_ADD_ADDR_SIGNAL); in mptcp_pm_remove_addr()
448 WRITE_ONCE(msk->pm.addr_signal, add_addr); in mptcp_pm_remove_addr()
825 u8 add_addr; in mptcp_pm_add_addr_signal()
835 /* always drop every other options for pure ack ADD_ADDR; this is a in mptcp_pm_add_addr_signal()
853 add_addr in mptcp_pm_rm_addr_signal()
408 u8 add_addr = READ_ONCE(msk->pm.addr_signal); mptcp_pm_announce_addr() local
801 u8 add_addr; mptcp_pm_add_addr_signal() local
[all...]
H A Doptions.c290 pr_debug("ADD_ADDR%s: id=%d, ahmac=%llu, echo=%d, port=%d\n", in mptcp_parse_option()
686 * to avoid appending the hmac even for ADD_ADDR echo in mptcp_established_options_add_addr()
968 * additional ack, including ADD_ADDR. in check_fully_established()
H A Dprotocol.h105 /* MPTCP ADD_ADDR flags */
H A Dpm_kernel.c205 * already created by incoming ADD_ADDR in fill_remote_addresses_vec()
608 /* Special case: peer sets the C flag, accept one ADD_ADDR if default in mptcp_pm_nl_append_new_local_addr()
609 * limits are used -- accepting no ADD_ADDR -- and use subflow endpoints in mptcp_pm_nl_append_new_local_addr()
/linux/tools/testing/selftests/net/netfilter/
H A Dconntrack_clash.sh71 add_addr() function
146 add_addr "$nsclient1" veth0 1 1
147 add_addr "$nsclient2" veth0 2 1
148 add_addr "$nsrouter" veth0 1 99
149 add_addr "$nsrouter" veth1 2 99
H A Dconntrack_icmp_related.sh34 add_addr() function
78 add_addr "$nsclient1" $DEV 1
79 add_addr "$nsclient2" $DEV 2
/linux/tools/testing/selftests/net/mptcp/
H A Duserspace_pm.sh320 # ADD_ADDR using an invalid token should result in no action
327 print_test "ADD_ADDR 10.0.2.2 (ns2) => ns1, invalid token"
335 # ADD_ADDR from the client to server machine reusing the subflow port
340 print_test "ADD_ADDR id:client 10.0.2.2 (ns2) => ns1, reuse port"
354 # ADD_ADDR from the client to server machine using a new port
359 print_test "ADD_ADDR id:client+1 10.0.2.2 (ns2) => ns1, new port"
367 # ADD_ADDR from the server to client machine reusing the subflow port
370 print_test "ADD_ADDR id:server 10.0.2.1 (ns1) => ns2, reuse port"
384 # ADD_ADDR from the server to client machine using a new port
389 print_test "ADD_ADDR id:server+1 10.0.2.1 (ns1) => ns2, new port"
[all …]
H A Dmptcp_join.sh1685 # Tolerate more ADD_ADDR then expected (if any), due to retransmissions
1688 fail_test "got $count ADD_ADDR[s] expected $add_nr"
1698 fail_test "got $count ADD_ADDR echo[s] expected $echo_nr"
1709 fail_test "got $count ADD_ADDR[s] with a port-number expected $port_nr"
1781 # Tolerate more ADD_ADDR then expected (if any), due to retransmissions
1784 fail_test "got $count ADD_ADDR[s] TX, expected $add_tx_nr"
1794 fail_test "got $count ADD_ADDR echo[s] TX, expected $echo_tx_nr"
2213 # accept and use add_addr
2223 # accept and use add_addr with an additional subflow
2226 # used for 'add_addr' subflow
[all …]
H A Dpm_nl_ctl.c769 int add_addr(int fd, int pm_family, int argc, char *argv[]) in add_addr() function
1541 return add_addr(fd, pm_family, argc, argv); in main()
/linux/include/uapi/linux/
H A Dmptcp_pm.h16 * good time to allocate memory and send ADD_ADDR if needed. Depending on the
/linux/drivers/net/ethernet/ti/
H A Dnetcp.h204 int (*add_addr)(void *intf_priv, struct netcp_addr *naddr); member
H A Dnetcp_ethss.c3822 .add_addr = gbe_add_addr,
3839 .add_addr = gbe_add_addr,
/linux/Documentation/networking/
H A Dmptcp.rst60 and the server side that announces additional addresses via the ``ADD_ADDR`` and
/linux/drivers/net/ethernet/pensando/ionic/
H A Dionic_rx_filter.c265 if (mode == ADD_ADDR && !f) { in ionic_lif_list_addr()
283 } else if (mode == ADD_ADDR && f) { in ionic_lif_list_addr()
/linux/Documentation/netlink/specs/
H A Dmptcp_pm.yaml27 allocate memory and send ADD_ADDR if needed. Depending on the
/linux/arch/parisc/kernel/
H A Ddrivers.c972 pr_cont("\t\t.add_addr = { HPA_%08lx_add_addr } },\\\n", hpa); in qemu_print_hpa()
/linux/net/ipv6/
H A Daddrconf.c3187 static void add_addr(struct inet6_dev *idev, const struct in6_addr *addr, in add_addr() function
3240 add_addr(idev, &addr, plen, scope, IFAPROT_UNSPEC); in add_v4_addrs()
3263 add_addr(idev, &addr, plen, flag, in add_v4_addrs()
3287 add_addr(idev, &in6addr_loopback, 128, IFA_HOST, IFAPROT_KERNEL_LO); in init_loopback()