Home
last modified time | relevance | path

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

/openbmc/linux/samples/bpf/
H A Dtest_lwt_bpf.c85 uint32_t new_ip, int rw_daddr) in rewrite() argument
112 ret = bpf_l4_csum_replace(skb, off, old_ip, new_ip, in rewrite()
113 flags | sizeof(new_ip)); in rewrite()
120 ret = bpf_l3_csum_replace(skb, IP_CSUM_OFF, old_ip, new_ip, sizeof(new_ip)); in rewrite()
127 ret = bpf_skb_store_bytes(skb, IP_DST_OFF, &new_ip, sizeof(new_ip), 0); in rewrite()
129 ret = bpf_skb_store_bytes(skb, IP_SRC_OFF, &new_ip, sizeof(new_ip), 0); in rewrite()
143 uint32_t old_ip, new_ip = 0x3fea8c0; in do_test_rewrite() local
153 printk("out: rewriting from %x to %x", old_ip, new_ip); in do_test_rewrite()
154 return rewrite(skb, old_ip, new_ip, 1); in do_test_rewrite()
H A Dtcbpf1_kern.c37 static inline void set_tcp_ip_src(struct __sk_buff *skb, __u32 new_ip) in set_tcp_ip_src() argument
41 bpf_l4_csum_replace(skb, TCP_CSUM_OFF, old_ip, new_ip, IS_PSEUDO | sizeof(new_ip)); in set_tcp_ip_src()
42 bpf_l3_csum_replace(skb, IP_CSUM_OFF, old_ip, new_ip, sizeof(new_ip)); in set_tcp_ip_src()
43 bpf_skb_store_bytes(skb, IP_SRC_OFF, &new_ip, sizeof(new_ip), 0); in set_tcp_ip_src()
/openbmc/linux/fs/jfs/
H A Dnamei.c1074 struct inode *new_ip; in jfs_rename() local
1101 new_ip = d_inode(new_dentry); in jfs_rename()
1123 if ((!new_ip) || (ino != new_ip->i_ino)) { in jfs_rename()
1129 else if (new_ip) { in jfs_rename()
1136 if (new_ip) { in jfs_rename()
1137 if (!dtEmpty(new_ip)) { in jfs_rename()
1142 } else if (new_ip) { in jfs_rename()
1143 IWRITE_LOCK(new_ip, RDWRLOCK_NORMAL); in jfs_rename()
1145 rc = dquot_initialize(new_ip); in jfs_rename()
1167 if (new_ip) { in jfs_rename()
[all …]
/openbmc/linux/net/netfilter/
H A Dxt_NETMAP.c73 __be32 new_ip, netmask; in netmap_tg4() local
87 new_ip = ip_hdr(skb)->daddr & ~netmask; in netmap_tg4()
89 new_ip = ip_hdr(skb)->saddr & ~netmask; in netmap_tg4()
90 new_ip |= mr->range[0].min_ip & netmask; in netmap_tg4()
95 newrange.min_addr.ip = new_ip; in netmap_tg4()
96 newrange.max_addr.ip = new_ip; in netmap_tg4()
/openbmc/linux/fs/
H A Dcompat_binfmt_elf.c104 #define COMPAT_START_THREAD(ex, regs, new_ip, new_sp) \ argument
105 compat_start_thread(regs, new_ip, new_sp)
/openbmc/linux/arch/x86/kernel/
H A Dprocess_64.c506 start_thread_common(struct pt_regs *regs, unsigned long new_ip, in start_thread_common() argument
525 regs->ip = new_ip; in start_thread_common()
533 start_thread(struct pt_regs *regs, unsigned long new_ip, unsigned long new_sp) in start_thread() argument
535 start_thread_common(regs, new_ip, new_sp, in start_thread()
541 void compat_start_thread(struct pt_regs *regs, u32 new_ip, u32 new_sp, bool x32) in compat_start_thread() argument
543 start_thread_common(regs, new_ip, new_sp, in compat_start_thread()
H A Dprocess_32.c112 start_thread(struct pt_regs *regs, unsigned long new_ip, unsigned long new_sp) in start_thread() argument
120 regs->ip = new_ip; in start_thread()
H A Duprobes.c640 unsigned long new_ip = regs->ip += auprobe->branch.ilen; in branch_emulate_op() local
653 if (emulate_push_stack(regs, new_ip)) in branch_emulate_op()
659 regs->ip = new_ip + offs; in branch_emulate_op()
/openbmc/linux/arch/x86/include/asm/
H A Delf.h174 void compat_start_thread(struct pt_regs *regs, u32 new_ip, u32 new_sp, bool x32);
175 #define COMPAT_START_THREAD(ex, regs, new_ip, new_sp) \ argument
176 compat_start_thread(regs, new_ip, new_sp, ex->e_machine == EM_X86_64)
H A Dprocessor.h675 extern void start_thread(struct pt_regs *regs, unsigned long new_ip,
/openbmc/linux/arch/ia64/include/asm/
H A Dprocessor.h296 #define start_thread(regs,new_ip,new_sp) do { \ argument
299 regs->cr_iip = new_ip; \
/openbmc/openbmc-test-automation/lib/
H A Dbmc_network_utils.robot258 ${new_ip}= Catenate ${network_part}.${octet4}
259 ${status}= Run Keyword And Return Status Ping Host ${new_ip}
261 Return From Keyword If '${status}' == 'False' ${new_ip}
787 [Arguments] ${ip} ${new_ip} ${netmask} ${gw_ip}
792 # new_ip New IP address to be configured.
802 ... Address=${new_ip} SubnetMask=${netmask} Gateway=${gw_ip}
829 Verify IP On BMC ${new_ip}