Searched refs:new_ip (Results 1 - 10 of 10) sorted by relevance

/linux-master/samples/bpf/
H A Dtcbpf1_kern.c37 static inline void set_tcp_ip_src(struct __sk_buff *skb, __u32 new_ip) argument
41 bpf_l4_csum_replace(skb, TCP_CSUM_OFF, old_ip, new_ip, IS_PSEUDO | sizeof(new_ip));
42 bpf_l3_csum_replace(skb, IP_CSUM_OFF, old_ip, new_ip, sizeof(new_ip));
43 bpf_skb_store_bytes(skb, IP_SRC_OFF, &new_ip, sizeof(new_ip), 0);
H A Dtest_lwt_bpf.c85 uint32_t new_ip, int rw_daddr)
112 ret = bpf_l4_csum_replace(skb, off, old_ip, new_ip,
113 flags | sizeof(new_ip));
120 ret = bpf_l3_csum_replace(skb, IP_CSUM_OFF, old_ip, new_ip, sizeof(new_ip));
127 ret = bpf_skb_store_bytes(skb, IP_DST_OFF, &new_ip, sizeof(new_ip), 0);
129 ret = bpf_skb_store_bytes(skb, IP_SRC_OFF, &new_ip, sizeof(new_ip), 0);
143 uint32_t old_ip, new_ip local
84 rewrite(struct __sk_buff *skb, uint32_t old_ip, uint32_t new_ip, int rw_daddr) argument
[all...]
/linux-master/fs/jfs/
H A Dnamei.c1075 struct inode *new_ip; local
1102 new_ip = d_inode(new_dentry);
1124 if ((!new_ip) || (ino != new_ip->i_ino)) {
1130 else if (new_ip) {
1137 if (new_ip) {
1138 if (!dtEmpty(new_ip)) {
1143 } else if (new_ip) {
1144 IWRITE_LOCK(new_ip, RDWRLOCK_NORMAL);
1146 rc = dquot_initialize(new_ip);
[all...]
/linux-master/fs/
H A Dcompat_binfmt_elf.c104 #define COMPAT_START_THREAD(ex, regs, new_ip, new_sp) \
105 compat_start_thread(regs, new_ip, new_sp)
/linux-master/net/netfilter/
H A Dxt_NETMAP.c73 __be32 new_ip, netmask; local
87 new_ip = ip_hdr(skb)->daddr & ~netmask;
89 new_ip = ip_hdr(skb)->saddr & ~netmask;
90 new_ip |= mr->range[0].min_ip & netmask;
95 newrange.min_addr.ip = new_ip;
96 newrange.max_addr.ip = new_ip;
/linux-master/arch/x86/include/asm/
H A Delf.h175 void compat_start_thread(struct pt_regs *regs, u32 new_ip, u32 new_sp, bool x32);
176 #define COMPAT_START_THREAD(ex, regs, new_ip, new_sp) \
177 compat_start_thread(regs, new_ip, new_sp, ex->e_machine == EM_X86_64)
H A Dprocessor.h651 extern void start_thread(struct pt_regs *regs, unsigned long new_ip,
/linux-master/arch/x86/kernel/
H A Dprocess_64.c530 start_thread_common(struct pt_regs *regs, unsigned long new_ip, argument
549 regs->ip = new_ip;
582 start_thread(struct pt_regs *regs, unsigned long new_ip, unsigned long new_sp) argument
584 start_thread_common(regs, new_ip, new_sp,
590 void compat_start_thread(struct pt_regs *regs, u32 new_ip, u32 new_sp, bool x32) argument
592 start_thread_common(regs, new_ip, new_sp,
H A Dprocess_32.c112 start_thread(struct pt_regs *regs, unsigned long new_ip, unsigned long new_sp) argument
120 regs->ip = new_ip;
H A Duprobes.c640 unsigned long new_ip = regs->ip += auprobe->branch.ilen; local
653 if (emulate_push_stack(regs, new_ip))
659 regs->ip = new_ip + offs;

Completed in 172 milliseconds