The fourth parameter of set_pdata_int deals with the linux offset but it deals with the difference. So you need to try to use a find offset plugin or something to verify the offset on linux. Then you can use the difference in the 4 parameter of set_pdata_int