Searched refs:new_port (Results 1 – 11 of 11) sorted by relevance
| /linux/samples/bpf/ |
| H A D | tcbpf1_kern.c | 47 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/sound/core/seq/ |
| H A D | seq_ports.c | 116 struct snd_seq_client_port *new_port; in snd_seq_create_port() 130 new_port = kzalloc_obj(*new_port); in snd_seq_create_port() 131 if (!new_port) in snd_seq_create_port() 134 new_port->addr.client = client->number; in snd_seq_create_port() 135 new_port->addr.port = -1; in snd_seq_create_port() 136 new_port->owner = THIS_MODULE; in snd_seq_create_port() 137 snd_use_lock_init(&new_port->use_lock); in snd_seq_create_port() 138 port_subs_info_init(&new_port->c_src); in snd_seq_create_port() 139 port_subs_info_init(&new_port in snd_seq_create_port() 117 struct snd_seq_client_port *new_port, *p; snd_seq_create_port() local [all...] |
| /linux/net/netfilter/ |
| H A D | nf_flow_table_core.c | 617 __be16 port, __be16 new_port) in nf_flow_nat_port_tcp() argument 622 inet_proto_csum_replace2(&tcph->check, skb, port, new_port, false); in nf_flow_nat_port_tcp() 626 __be16 port, __be16 new_port) in nf_flow_nat_port_udp() argument 633 new_port, false); in nf_flow_nat_port_udp() 640 u8 protocol, __be16 port, __be16 new_port) in nf_flow_nat_port() argument 644 nf_flow_nat_port_tcp(skb, thoff, port, new_port); in nf_flow_nat_port() 647 nf_flow_nat_port_udp(skb, thoff, port, new_port); in nf_flow_nat_port() 657 __be16 port, new_port; in nf_flow_snat_port() local 664 new_port = flow->tuplehash[FLOW_OFFLOAD_DIR_REPLY].tuple.dst_port; in nf_flow_snat_port() 665 hdr->source = new_port; in nf_flow_snat_port() [all …]
|
| /linux/tools/testing/selftests/drivers/net/netdevsim/ |
| H A D | udp_tunnel_nic.sh | 269 echo 1 > $NSIM_DEV_SYS/new_port 352 echo 0 > $NSIM_DEV_SYS/new_port 420 echo $port > $NSIM_DEV_SYS/new_port 477 echo $port > $NSIM_DEV_SYS/new_port 533 echo $port > $NSIM_DEV_SYS/new_port 562 echo $port > $NSIM_DEV_SYS/new_port 622 echo $port > $NSIM_DEV_SYS/new_port 677 echo $port > $NSIM_DEV_SYS/new_port 736 echo $port > $NSIM_DEV_SYS/new_port 795 echo 1 > $NSIM_DEV_SYS/new_port [all …]
|
| H A D | devlink_trap.sh | 469 echo 1 > ${NETDEVSIM_PATH}/devices/${DEV}/new_port
|
| /linux/drivers/usb/typec/ucsi/ |
| H A D | ucsi_ccg.c | 481 struct ucsi_ccg_altmode *new_port, *port; in ucsi_ccg_update_set_new_cam_cmd() local 491 new_port = &uc->updated[new_cam]; in ucsi_ccg_update_set_new_cam_cmd() 492 cam = new_port->linked_idx; in ucsi_ccg_update_set_new_cam_cmd() 505 if (alt->svid == new_port->svid) in ucsi_ccg_update_set_new_cam_cmd() 527 new_port->active_idx = cam; in ucsi_ccg_update_set_new_cam_cmd() 529 cam = new_port->active_idx; in ucsi_ccg_update_set_new_cam_cmd()
|
| /linux/include/linux/ |
| H A D | sctp.h | 818 __be16 new_port; member
|
| /linux/tools/testing/selftests/net/ |
| H A D | lib.sh | 288 … echo "$port_id $perm_addr" | ip netns exec "$ns" tee "$nsim_path"/new_port > /dev/null || return 1
|
| /linux/drivers/net/netdevsim/ |
| H A D | bus.c | 101 static struct device_attribute nsim_bus_dev_new_port_attr = __ATTR_WO(new_port);
|
| /linux/net/openvswitch/ |
| H A D | actions.c | 578 __be16 new_port, __sum16 *check) in set_tp_port() argument 581 inet_proto_csum_replace2(check, skb, *port, new_port, false); in set_tp_port() 582 *port = new_port; in set_tp_port()
|
| /linux/net/sctp/ |
| H A D | sm_make_chunk.c | 1146 nep.new_port = chunk->transport->encap_port; in sctp_make_new_encap_port()
|