Home
last modified time | relevance | path

Searched refs:new_port (Results 1 – 12 of 12) sorted by relevance

/linux-6.6.21/net/netfilter/
Dnf_flow_table_core.c458 __be16 port, __be16 new_port) in nf_flow_nat_port_tcp() argument
463 inet_proto_csum_replace2(&tcph->check, skb, port, new_port, false); in nf_flow_nat_port_tcp()
467 __be16 port, __be16 new_port) in nf_flow_nat_port_udp() argument
474 new_port, false); in nf_flow_nat_port_udp()
481 u8 protocol, __be16 port, __be16 new_port) in nf_flow_nat_port() argument
485 nf_flow_nat_port_tcp(skb, thoff, port, new_port); in nf_flow_nat_port()
488 nf_flow_nat_port_udp(skb, thoff, port, new_port); in nf_flow_nat_port()
498 __be16 port, new_port; in nf_flow_snat_port() local
505 new_port = flow->tuplehash[FLOW_OFFLOAD_DIR_REPLY].tuple.dst_port; in nf_flow_snat_port()
506 hdr->source = new_port; in nf_flow_snat_port()
[all …]
/linux-6.6.21/samples/bpf/
Dtcbpf1_kern.c47 static inline void set_tcp_dest_port(struct __sk_buff *skb, __u16 new_port) in set_tcp_dest_port() argument
51 bpf_l4_csum_replace(skb, TCP_CSUM_OFF, old_port, new_port, sizeof(new_port)); in set_tcp_dest_port()
52 bpf_skb_store_bytes(skb, TCP_DPORT_OFF, &new_port, sizeof(new_port), 0); in set_tcp_dest_port()
/linux-6.6.21/sound/core/seq/
Dseq_ports.c120 struct snd_seq_client_port *new_port, *p; in snd_seq_create_port() local
135 new_port = kzalloc(sizeof(*new_port), GFP_KERNEL); in snd_seq_create_port()
136 if (!new_port) in snd_seq_create_port()
139 new_port->addr.client = client->number; in snd_seq_create_port()
140 new_port->addr.port = -1; in snd_seq_create_port()
141 new_port->owner = THIS_MODULE; in snd_seq_create_port()
142 snd_use_lock_init(&new_port->use_lock); in snd_seq_create_port()
143 port_subs_info_init(&new_port->c_src); in snd_seq_create_port()
144 port_subs_info_init(&new_port->c_dest); in snd_seq_create_port()
145 snd_use_lock_use(&new_port->use_lock); in snd_seq_create_port()
[all …]
/linux-6.6.21/tools/testing/selftests/drivers/net/netdevsim/
Dudp_tunnel_nic.sh269 echo 1 > $NSIM_DEV_SYS/new_port
353 echo 0 > $NSIM_DEV_SYS/new_port
433 echo $port > $NSIM_DEV_SYS/new_port
491 echo $port > $NSIM_DEV_SYS/new_port
548 echo $port > $NSIM_DEV_SYS/new_port
578 echo $port > $NSIM_DEV_SYS/new_port
639 echo $port > $NSIM_DEV_SYS/new_port
695 echo $port > $NSIM_DEV_SYS/new_port
755 echo $port > $NSIM_DEV_SYS/new_port
815 echo 1 > $NSIM_DEV_SYS/new_port
[all …]
Ddevlink_trap.sh469 echo 1 > ${NETDEVSIM_PATH}/devices/${DEV}/new_port
/linux-6.6.21/drivers/usb/typec/ucsi/
Ducsi_ccg.c436 struct ucsi_ccg_altmode *new_port, *port; in ucsi_ccg_update_set_new_cam_cmd() local
444 new_port = &uc->updated[new_cam]; in ucsi_ccg_update_set_new_cam_cmd()
445 cam = new_port->linked_idx; in ucsi_ccg_update_set_new_cam_cmd()
458 if (alt->svid == new_port->svid) in ucsi_ccg_update_set_new_cam_cmd()
480 new_port->active_idx = cam; in ucsi_ccg_update_set_new_cam_cmd()
482 cam = new_port->active_idx; in ucsi_ccg_update_set_new_cam_cmd()
/linux-6.6.21/drivers/tty/serial/8250/
D8250_bcm7271.c941 struct uart_8250_port *new_port; in brcmuart_probe() local
1100 new_port = serial8250_get_port(ret); in brcmuart_probe()
1101 priv->up = &new_port->port; in brcmuart_probe()
1110 IRQF_SHARED, "uart DMA irq", &new_port->port); in brcmuart_probe()
/linux-6.6.21/drivers/net/netdevsim/
Dbus.c79 static struct device_attribute nsim_bus_dev_new_port_attr = __ATTR_WO(new_port);
/linux-6.6.21/include/linux/
Dsctp.h820 __be16 new_port; member
/linux-6.6.21/net/openvswitch/
Dactions.c665 __be16 new_port, __sum16 *check) in set_tp_port() argument
668 inet_proto_csum_replace2(check, skb, *port, new_port, false); in set_tp_port()
669 *port = new_port; in set_tp_port()
/linux-6.6.21/drivers/tty/serial/
Dserial_core.c826 unsigned long new_port; in uart_set_info() local
835 new_port = new_info->port; in uart_set_info()
837 new_port += (unsigned long) new_info->port_high << HIGH_BITS_OFFSET; in uart_set_info()
855 && (new_port != uport->iobase || in uart_set_info()
934 uport->iobase = new_port; in uart_set_info()
/linux-6.6.21/net/sctp/
Dsm_make_chunk.c1154 nep.new_port = chunk->transport->encap_port; in sctp_make_new_encap_port()